阅读背景:

Windows上的Python 2.6:如何使用“shell = True”参数终止subprocess.Popen?

来源:互联网 

Is there a way to terminate a process started with the subprocess.Popen class with the "shell" argument set to "True"? In the working minimal example below (uses wxPython) you can open and terminate a Notepad process happily, however if you change the Popen "shell" argument to "True" then the Notepad process doesn't terminate.Is there a way to terminate a process started w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: