Created
April 3, 2017 23:59
-
-
Save atamsingh/30a8ac65a254732c2632e07de1d935ee to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#[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
Another similar method is to append
&> /dev/null & disown
to the command.This can be made easier through the bash function
so then you can just run
dis command