我正在用subprocessPython 启动一个程序.
subprocess
在某些情况下,程序可能会冻结.这是我无法控制的.我从命令行中唯一可以做的就是CtrlEsc快速杀死程序.
有没有办法模仿这个subprocess?我正在使用subprocess.Popen(cmd, shell=True)启动该程序.
subprocess.Popen(cmd, shell=True)
python multithreading subprocess
multithreading ×1
python ×1
subprocess ×1