直接用nohup运行
nohup python xxxx.py > myout.out 2>&1 &
大功告成。
想看看程序是否在运行
ps aux|grep python
https://www.jianshu.com/p/4041c4e6e1b0
直接用nohup运行
nohup python xxxx.py > myout.out 2>&1 &
大功告成。
想看看程序是否在运行
ps aux|grep python
https://www.jianshu.com/p/4041c4e6e1b0