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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南