Crtl-C Kills Nohup Background Processes

This page answers questions like these:

Why is Ctrl-C Killing My Background Processes?

On some systems, using Ctrl-C to kill the currently running process will also kill sub-processes, even if they've been started with nohup. To remedy this, the subprocesses need to be started using setsid as follows:

setsid nohup COMMAND &
Related Links:

Home  >  Linux / Unix  >  Crtl-C Kills Nohup Background Processes

Tags: ctrl c, kills background processes, kills, nohup, background, processes, linux, unix

Src: crtl-c-kills-background-processes.txt
Dst: Linux-Unix/crtl-c-kills-nohup-background-processes.htm
Ads: 2