spawnv

Olivier Scalbert olivier.scalbert at algosyn.com
Tue Aug 14 20:08:52 EDT 2001


Hi,

On my Linux box, the following code does not start /usr/bin/gears:

import os
print os.spawnv(os.P_WAIT, "/usr/bin/gears", ())

In fact it print 127 !

but the following code starts /usr/bin/gears :

import os
os.system("/usr/bin/gears")

Why ?

Thanks

Olivier




More information about the Python-list mailing list