DEV Community

Roy
Roy

Posted on • Updated on

killing a process group

electron-ssr will spawn a shadowcocks.py process, which cannot be killed simplely by /usr/bin/killall electron-ssr, this can cause problem of "port already being occupied" when trying to restart electron ssr, to kill all the processess belong to electron-ssr, use

/usr/bin/killall -g electron-ssr

Top comments (0)