Created
October 28, 2015 20:43
-
-
Save adyp/e016cb0bf6e8f0c1882a to your computer and use it in GitHub Desktop.
shell: close stdin before executing command
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
exec 0>&- # close stdin | |
# and execute command without STDIN control... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment