Created
January 26, 2018 16:11
-
-
Save sven-bock/2860bdc7f45b8d7195a9d0b88a87bce5 to your computer and use it in GitHub Desktop.
Run some executable as a background process
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
# This can be quite useful to run some process on the server, | |
# as it will not listen to the hangup signal of the terminal | |
# and will not terminate the process, if you close the terminal. | |
# In addition all output is appended in the log file | |
nohup /usr/bin/python3.4 /abspath/someFile.py 2>&1 | /usr/bin/tee -a /abspath/log.txt & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment