How to prevent a background process from being stopped after closing SSH client in Linux

前端 未结 20 1709
悲&欢浪女
悲&欢浪女 2020-11-22 06:16

I\'m working on a Linux machine through SSH (Putty). I need to leave a process running during the night, so I thought I could do that by starting the process in background (

20条回答
  •  感动是毒
    2020-11-22 06:52

    On systemd/Linux, systemd-run is a nice tool to launch session-independent processes.

提交回复
热议问题