Detached setup processes are not killed
Closed this issue · 0 comments
fgsalomon commented
The DetachPopenExecutorService
launches the process on a shell so when the PopenKillerService
tries to kill the process it only kills the shell and no the child processes.
Possible workarounds:
- Don't use
shell=True
- Prepend the command with
exec
(Unix only) - Use a process group (Unix only)