Browse Source

On Windows, terminating a process might not succeed - use kill instead.

Sascha Zelzer 12 years ago
parent
commit
1a4220fb41

+ 1 - 1
Libs/CommandLineModules/Backend/LocalProcess/ctkCmdLineModuleProcessWatcher.cpp

@@ -122,7 +122,7 @@ void ctkCmdLineModuleProcessWatcher::resumeProcess()
 //----------------------------------------------------------------------------
 void ctkCmdLineModuleProcessWatcher::cancelProcess()
 {
-  process.terminate();
+  process.kill();
 }
 
 //----------------------------------------------------------------------------