mirror of
https://github.com/winsw/winsw.git
synced 2025-12-10 18:37:28 +08:00
bugfix restart service options
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@20 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
This commit is contained in:
8
Main.cs
8
Main.cs
@@ -452,9 +452,11 @@ namespace winsw
|
||||
}
|
||||
else
|
||||
{
|
||||
stoparguments += " " + descriptor.Arguments;
|
||||
|
||||
StartProcess(new Process(), stoparguments);
|
||||
stoparguments += " " + descriptor.Arguments;
|
||||
|
||||
Process stopProcess = new Process();
|
||||
StartProcess(stopProcess, stoparguments);
|
||||
stopProcess.WaitForExit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user