Created
June 10, 2013 21:56
-
-
Save bdecarne/5752758 to your computer and use it in GitHub Desktop.
Make a programme continue to run after log out from ssh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming that you have a program running in the foreground, press ctrl-Z, then: | |
[1]+ Stopped myprogram | |
$ disown -h %1 | |
$ bg 1 | |
[1]+ myprogram & | |
$ logout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment