[PLUG] Running a Python application in the background
Galen Seitz
galens at seitzassoc.com
Fri Feb 24 03:29:47 UTC 2017
On 02/23/17 19:18, Rich Shepard wrote:
> A hydrologic model I need to run has an estimated completion time almost 4
> days in the future so I start it in the background by appending '&' to the
> command line.
>
> The problem is when I log out of the system and log in as root that
> process (actually, there are 3 processes running, one with status Rl the
> others as S (suspended).
>
> Is there an alternative way to have a program keep running after the user
> invoking it logs off?
Traditionally this was done using nohup, but screen is probably a better
choice.
<http://tecadmin.net/run-command-in-background-on-linux/>
(not *the* definitive link, just the first one that seemed to cover what
you were asking)
galen
--
Galen Seitz
galens at seitzassoc.com
More information about the PLUG
mailing list