Ctrl-C Kills Nohup Background Processes

This page answers questions like these:


Related Links:
Make Faster on a Multicore or Multi CPU Machine



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:
Make Faster on a Multicore or Multi CPU Machine

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


Tags: nohup ctrl c, ctrl c kills background processes, nohup, background, processes, linux, unix, solaris, bsd, aix

Copyright © HelpDoco.com
ctrl-c-kills-background-processes.txt
Linux-Unix/ctrl-c-kills-nohup-background-processes.htm
1