Run python script in the background

to run a script in the background of debian you have to end with a & symbol.

Example: python &

It will give you an process ID like [5] 2055

To stop it you just type: kill 2055

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.