in reply to Re^3: break thread with system(...) call
in thread break thread with system(...) call
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.
|
|---|