[python-win32] os.system problem

ryan toxicpulse at sbcglobal.net
Wed Aug 6 17:43:49 EDT 2003


how do you properly quote an os.system() call so i can load a file on a command line argument. i have tried: 

os.system('C:\\"foo bar"\\some.exe %s' % filename)

but for some reason thats only loading some.exe, but not on filename
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20030806/fdd22d88/attachment.htm


More information about the Python-win32 mailing list