This is stackoverflow s**t but, someone who works with node can answer this ... I'm starting a process with node's child process spwan method and that process starts its own process so now when i kill the process, the spawned process gets killed but the process that was started by it floats around. How can i kill it or get the PID?
Oct 16, 2020If you are using linux:- To list down zombies ps aux | awk '"[Zz]" ~ $8 { printf("%s, PID = %d\n", $8, $2); }' To kill zombies kill -9 PID
Oct 17, 2020