由网友(不屑沵旳回眸)分享简介:我使用Amazon EC2。我连接通过SSH和运行Python脚本。如果我退出,会不会继续工作?如何运行Python脚本,关闭SSH会话,他一直在忙什么呢?I use Amazon EC2.I connect by SSH and run python script. If I exit, will it co...
我使用Amazon EC2。 我连接通过SSH和运行Python脚本。如果我退出,会不会继续工作? 如何运行Python脚本,关闭SSH会话,他一直在忙什么呢?
I use Amazon EC2. I connect by SSH and run python script. If I exit, will it continues working? How can I run Python script, close SSH session and he's been working on?
推荐答案
脚本中使用nohup命令之前, (nohup这个蟒蛇example.py).the输出将被存储在nohup.out的在乌拉圭回合执行的文件夹中。
before your script use nohup command (nohup python example.py).the output will be stored in nohup.out in ur execution folder.
相关推荐
最新文章