Using asyncio to run command in a time interval and terminate it afterwards

后端 未结 0 599
野趣味
野趣味 2021-02-05 21:58

I\'m excuting a shell command by os.system(). I planned to run it for 1 second, then terminate it if time exceeded. Here\'s what I tried instead as a test.



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