mirror of https://github.com/winsw/winsw
bugfix restart service options
git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@20 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308faremotes/git-svn
parent
6ddd127c38
commit
fe0ceb5e79
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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue