Last active
November 17, 2017 14:55
-
-
Save deviationist/26109b2681b884d3690207340cd30404 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Fire and forget | |
nohup ./shell.sh >/dev/null 2>&1 & | |
# Wait and suppress output | |
( ./shell.sh ) >/dev/null 2>&1 | |
# Wait and return output | |
./shell.sh | |
echo 'Yes' | |
exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment