I want to terminate a python script if it doesn’t output anything to the terminal in 2 min

前端 未结 0 1321
名媛妹妹
名媛妹妹 2020-12-31 11:28

Here\'s my current bash which is just a loop

while true ; do 
     python3 /Users/Name/Desktop/pythoncode.py
done

I want to terminate p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题