Why does unix 'nohup' not work for me.

0

I use Ubuntu and previously (few years ago) used: 'nohup ...job... &' to run a long job, exit, then later login to see the job in progress or completed. It worked back then, but not now! Maybe AWS now handles disconnects differently. I tried many suggestions on internet (eg: disown) but all failed. EDIT: setsid also did not work.

已提问 1 年前244 查看次数
1 回答
0

Hi, see answer to https://unix.stackexchange.com/questions/432258/issues-with-nohup-on-linux-instance-on-ec2-amazon-web-services

the final comment explains why setsid may be your solution

profile pictureAWS
专家
已回答 1 年前
  • I previously found that link, and unfortunately, 'setsid' did not work.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则