Commit 15c77157 authored by ac32's avatar ac32

process killall check matlabPID from batchseg

parent f8bfb8cf
......@@ -527,7 +527,7 @@ function pauseOrKillAll(bKill,leverFile)
if (bKill) {
gCommandMap.delete(inProcessQ[i].ID);
if (null!==inProcessQ[i].childProc) {
if (process.platform != "win32") {
if (process.platform != "win32" && undefined!=inProcessQ[i].matlabPID) {
// matlab was launched on unix via a script
// it told us its pid right after launch
// we use that to kill the main matlab process here
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment