os.spawnv

55555 55555 at dakotacom.net
Thu Feb 17 19:45:27 EST 2000


import os
os.spawnv(os.P_NOWAIT, 'c:/pkzipdos/pkzip.exe', ('c:/pkzipdos/pkzip.exe', 
'c:/windows/desktop/adsf.zip', 'c:/pkzipdos/*.*'))

returns the following exception:
OSError: [Errno 2] No such file or directory

I don't understand why this doesn't work.  The tuple can be cut and pasted 
into the windows run box and will work.  Also, os.system() is able to make 
this command work.  What am I doing wrong with spawnv?


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



More information about the Python-list mailing list