Closed
Description
On Linux, the primary implementation of Process::stop()
is calling proc_terminate()
with TERM
signal.
This effectively kills the process but usually not its child processes.
On Windows, however, taskkill
command with /T
switch is used so whole process sub-tree is killed.
I found that the taskkill
command for Windows platforms was added here: symfony/process@1eb5593#diff-9a01fc0e340da4c3f1e4a16029a63977R626 .
But the commit message says nothing about any need to kill the whole process tree:
[Process] Make Process::start non-blocking on Windows platform
Is there any reason for this inconsistency?