Skip to content

Instantly share code, notes, and snippets.

@stanlee321
Created June 9, 2020 00:51
Show Gist options
  • Save stanlee321/6dd44bdebbd5c3788949d9ccff082dd0 to your computer and use it in GitHub Desktop.
Save stanlee321/6dd44bdebbd5c3788949d9ccff082dd0 to your computer and use it in GitHub Desktop.
nohup python

nohup /path/to/test.py > output.log & nohup python /path/to/test.py > output.log &

You can find the process and its process Id with this command:

ps ax | grep test.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment