嘿,我正在运行一个使用 selenium 的 python 脚本。
当我运行 python3.5 quickstart.py 时,它工作得很好。当我使用 nohup python3.5 quickstart.py 时它不起作用并且 nohup.out 没有任何内容,当然当我关闭我的 shell 时 python3.5 quickstart.py 结束。
您应该&
在 nohup 命令之后添加:
nohup python program.py &
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句