Run a command in a shell and keep running the command when you close the session

前端 未结 9 2085
被撕碎了的回忆
被撕碎了的回忆 2020-11-27 11:11

I am using Putty to connect to a remote server. What I want to know is if there is any way to write my commands and allow them to keep running after I close the session with

9条回答
  •  半阙折子戏
    2020-11-27 11:20

    If you can't use screen (because, for instance, your SSH session is being programmatically driven), you can also use daemonize to run the program as a daemon.

提交回复
热议问题