Python becomes suspended background job after subprocess

broken image
broken image
broken image

One can be bring back a background job to foreground in bash using fg even if it is run with nohup. If the command jobs cannot find it, then it is no longer a child process of that shell. Jobs can print currently running jobs and their status. $ nohup: ignoring input and appending output to ‘nohup.out’ One must do that explicitly, by ending the command line with an &.

broken image

Nohup does not automatically put the command it runs in the background. Nohup does not disconnect a command from terminal, it makes your script ignore SIGHUP, and redirects stdout/stderr to a file nohup.out, so that the command can continue running in the background after you log out.

broken image