diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-03-04 12:58:19 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-03-04 12:58:19 +0200 |
| commit | 019b36232e9c64052ec2e8169e863ea52b261135 (patch) | |
| tree | 78868b022607d2da4bfe115540bbbbd571be6cd1 /Software/Visual_Studio/PPC/Tango.PPC.Common/OS | |
| parent | 2ff390cf30cd10f79b35a4729df3e2d496277886 (diff) | |
| download | Tango-019b36232e9c64052ec2e8169e863ea52b261135.tar.gz Tango-019b36232e9c64052ec2e8169e863ea52b261135.zip | |
Added support for process ranges in color lab module.
Added fallback for windows time service activation on PPC.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/OS')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/OS/DefaultOperationSystemManager.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/OS/DefaultOperationSystemManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/OS/DefaultOperationSystemManager.cs index 1dbb57a8b..cfbc6d752 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/OS/DefaultOperationSystemManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/OS/DefaultOperationSystemManager.cs @@ -138,9 +138,13 @@ namespace Tango.PPC.Common.OS cmd.Timeout = TimeSpan.FromSeconds(10); await cmd.Run(); - cmd = new CmdCommand("net", "start W32Time"); - cmd.Timeout = TimeSpan.FromSeconds(10); - await cmd.Run(); + try + { + cmd = new CmdCommand("net", "start W32Time"); + cmd.Timeout = TimeSpan.FromSeconds(10); + await cmd.Run(); + } + catch { } cmd = new CmdCommand("w32tm", $"/resync"); await cmd.Run(); |
