Last active
April 16, 2022 04:37
-
-
Save davit312/e8a82138485db99fa59917c66888eacc to your computer and use it in GitHub Desktop.
Execute command in background; Execute command in background and close terminal
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
# Run command in background without using ampersand | |
coproc vlc . | |
# Run command in background and close terminal | |
coproc vlc . ; exit | |
# Note: coproc command works in bash but not works in shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment