Some further info on this:
Win32::Process::Kill() only gets the immediate child, not the group.
That means that if all the processes in your complex commands are simple command line apps, then all children and their grandchildren etc. will be killed as a group.
But if any of the processes allocate their own console, or do not use a console (eg. notepad.exe), then they will survive. I do not have a simple solution for these.
In reply to Re^4: break thread with system(...) call
by BrowserUk
in thread break thread with system(...) call
by aaaone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |