Since os.popen is being replaced with subprocess.popen, I was wondering how I would convert
os.popen('swfdump /tmp/filename.swf/ -d')
to subprocess.popen ()
I tried:
subprocess.Popen("swfdump /tmp/filename.swf -d") subprocess.Popen("swfdump %s -d" % (filename))
But I assume that I did not write it down correctly. Any help would be greatly appreciated. Thanks
python subprocess popen
Stupid.Fat.Cat Sep 26 '12 at 15:42 2012-09-26 15:42
source share