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
4
Main.cs
4
Main.cs
|
@ -454,7 +454,9 @@ namespace winsw
|
||||||
{
|
{
|
||||||
stoparguments += " " + descriptor.Arguments;
|
stoparguments += " " + descriptor.Arguments;
|
||||||
|
|
||||||
StartProcess(new Process(), stoparguments);
|
Process stopProcess = new Process();
|
||||||
|
StartProcess(stopProcess, stoparguments);
|
||||||
|
stopProcess.WaitForExit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue