in reply to scripts die when calling other program, but only certian circumstances
Can you elaborate on die? Do you mean, your GUI window disappears, or does the GUI freeze ... ?
You could check:
Because of ...is submitted and returned, even C is still running..., maybe an unescaped & sneaked into the system call? That could also explain the uninitialised $res, because the result is not yet ready for long running tasks when the GUI checks for the result-files existence. For short running tasks, some (maybe not all) results are processed and the result file is already opened/created, giving the impression the GUI work fine for small tasks. Well, just some speculations...
|
|---|