How do I keep a script running in the background?

Nguyễn Tân

New member
How do I keep a script running in the background?
Answer
How to run scripts in the background
  1. Press Ctrl+Z to pause the script. You might see. ^Z [1]+ Stopped python script.py. ^Z. [1]+ Stopped python script. py.
  2. Type bg to run the script in the background. You should see. [1]+ python script.py & [1]+ python script. py &
9 окт. 2018 г.
 

Tìm kiếm

Back
Top