os.spawnv problem

Steve Purcell stephen_purcell at yahoo.com
Fri Mar 16 12:41:00 CET 2001


Reinhold Koch wrote:
> Hi python experts!
> 
> As a newcomer I just hit a wall with the little one-liner:
> 
> os.spawnv('P_WAIT',r'C:\rei\bin\PFE32.EXE', ('xx','yy'))

'P_WAIT' should not be quoted. Try the following:

   os.spawnv(os.P_WAIT,r'C:\rei\bin\PFE32.EXE', ('xx','yy'))

-Steve

-- 
Steve Purcell, Pythangelist
Get testing at http://pyunit.sourceforge.net/
Any opinions expressed herein are my own and not necessarily those of Yahoo




More information about the Python-list mailing list