Run python script in the background

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

Example: python test.py &

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. Required fields are marked *

-->