subprocess.Popen接受参数列表:
from subprocess import Popen, PIPEprocess = Popen(['swfdump', '/tmp/filename.swf', '-d'], stdout=PIPE, stderr=PIPE)stdout, stderr = process.communicate()
文档中甚至有一部分专门用于帮助用户从迁移
os.popen到
subprocess。

subprocess.Popen接受参数列表:
from subprocess import Popen, PIPEprocess = Popen(['swfdump', '/tmp/filename.swf', '-d'], stdout=PIPE, stderr=PIPE)stdout, stderr = process.communicate()
文档中甚至有一部分专门用于帮助用户从迁移
os.popen到
subprocess。