fixed: gui "start" button visible even though server/client is running.

This commit is contained in:
Nick Bolton 2013-10-16 15:30:42 +00:00
parent 658a3e3e8f
commit 2520bf4773
5 changed files with 27 additions and 7 deletions

View file

@ -304,6 +304,12 @@ CMSWindowsWatchdog::startProcess()
throw XArch(new XArchEvalWindows);
}
else {
// wait for program to fail.
ARCH->sleep(1);
if (!isProcessActive()) {
throw XMSWindowsWatchdogError("process immediately stopped");
}
m_processRunning = true;
m_processFailures = 0;