bugfix restart service options

git-svn-id: https://svn.kenai.com/svn/winsw~subversion/trunk@20 c8b2a3fe-9b5b-6a51-a37e-dc31b0e308fa
remotes/git-svn
jjasper4 2009-01-05 21:40:01 +00:00
parent 6ddd127c38
commit fe0ceb5e79
1 changed files with 5 additions and 3 deletions

View File

@ -454,7 +454,9 @@ namespace winsw
{
stoparguments += " " + descriptor.Arguments;
StartProcess(new Process(), stoparguments);
Process stopProcess = new Process();
StartProcess(stopProcess, stoparguments);
stopProcess.WaitForExit();
}
}