View Single Post
Old Jul 18th, 2006, 12:42 PM   #8
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 936
Rep Power: 4 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Thank you, Game_Ender! Popen works!

import subprocess as sub

fp = r'C:\path\to\file.ext'
READER = r'C:\path\to\Reader.exe'

cmd = '%s %s "%s"' % (READER, 'sig5C', fp)

p = sub.Popen(cmd)
p.wait()
titaniumdecoy is offline   Reply With Quote