赞
踩
nohup python3 run.py >> run.log 2>&1 &
ps -ef | grep python3
产看所有python3进程
pythonw .\run.py > run.log
后台使用Python运行run.py文件,日志输出到当前目录run.log文件
tasklist
查看windows下所有进程
taskkill /f /im 进程号
指定进程号或名称杀死进程
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。