为什么subprocess.Popen运行缓慢?

时间:2019-05-06 07:52:11

标签: linux

我的python脚本需要1秒才能运行,当我使用subprocess.Popen调用它时需要7秒钟。 我该怎么做才能加快速度?我尝试这样做:

subprocess.Popen(['script.py','-p',pid])

0 个答案:

没有答案
相关问题