Table of contents
1. python runs tasks in the background of linux
2. View python background tasks
3. Close background running tasks
1. python runs tasks in the background of linux
nohup python -u test.py > out.log 2>&1 & ###test.py为要运行的程序 out.log是程序产生的日记
2. View python background tasks
ps -ef | grep python
3. Close background running tasks
kill -9 7079