emulation which is incomplete, in the sense that if youprocess.kill()a child process spawned withchild_process.spawn(), it will receive anexit eventwithcodeset to1andsignalset tonull in other words, on Windows it's impossible to distinguish between a process that exited with an exit code ...