Why sending 'kill -15' from command line works every time but from python script only sometimes?

前端 未结 0 342
旧巷少年郎
旧巷少年郎 2021-02-01 21:59

I\'m starting a program from python script using subprocess.Popen:

cmd = "exec sudo timeout 120 /opt/something/my_program"
self.process = subprocess.Pop         


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