Linux: Run process as background and never dies

When you run your process from Putty SSH and the process will die after a certain time's inactivity of PuTTY terminal. Here is a simple solution to avoid lose your work:
nohup python start.py &
Note: Please do not start a web server command from putty terminal with & at the end of the command. THE FOLLOWING MAY CAUSE unexpected website behave PROBLEM:<
command_to_start_a_web_server &

No comments:

Post a Comment

Datatable static image not found on the server

When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...