Running a python Script in background

nohup python file.py > output.log 2>&1 &


Ctrl+Z (suspend the process)

bg (restart the process in the background

disown %1 (assuming this is job #1, use jobs to determine)

0 comments:

Copyright © 2013 SoftKul