search

Home  >  Q&A  >  body text

linux - How to pause a running python script

I installed a Linux system called debian and python3 through gnuroot on my Android phone to run the automatic trading script 24 hours a day. But when I want to pause the running python script, what should I do? Is to directly stop it with the command when needed. If you want to run it again, you should find a solution in the script itself, thank you

高洛峰高洛峰2725 days ago1337

reply all(1)I'll reply

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-07 09:26:22

    If you install Linux on your mobile phone, it is really difficult to use shortcut keys and so on. But you can top the command line, find the pid number of python xxxx.py, and then enter kill -9 pid number to force kill the process.

    reply
    0
  • Cancelreply