Nguyễn Tân
New member
How do I keep a script running in the background?
Answer
How to run scripts in the background
Answer
How to run scripts in the background
- Press Ctrl+Z to pause the script. You might see. ^Z [1]+ Stopped python script.py. ^Z. [1]+ Stopped python script. py.
- Type bg to run the script in the background. You should see. [1]+ python script.py & [1]+ python script. py &