开发者

Start a job that does not end when my terminal session does?

开发者 https://www.devze.com 2022-12-26 02:55 出处:网络
How can I start a job on a *nix system that will not exit when m开发者_Go百科y session exits?Use the command nohup, and then add an ampersand (&) at the end to put the job in the background.

How can I start a job on a *nix system that will not exit when m开发者_Go百科y session exits?


Use the command nohup, and then add an ampersand (&) at the end to put the job in the background.

$ nohup ./fetch_command > fetch_log_file &

Then you can exit the shell and the job will continue running.


nohup your_process &

0

精彩评论

暂无评论...
验证码 换一张
取 消