cpan-authors / IPC-Run

https://metacpan.org/pod/IPC::Run
Other
21 stars 38 forks source link

kill_kill: Immediately KILL the child process as documented for Win32. #136

Closed tonycoz closed 4 years ago

tonycoz commented 5 years ago

The TERM signal ends up as a call to GenerateConsoleCtrlEvent() which sends the signal to the entire process group, with confusing results.

The other option is to follow what the core does for system(1, ...) and create a new process group for each new child.

Note that a few other tests fail, but that doesn't appear to be due to this change.