pre subprocess help needed

wittempj@hotmail.com martin.witte at gmail.com
Tue Aug 2 15:36:01 EDT 2005


You can also use the spawn functions in os, together with the P_WAIT
mode.

os.spawnlp(os.P_WAIT, 'ls', 'ls')
gconfd-martin  kde-martin      mcop-martin   ssh-PhJzdB6333
gpg-bSRhOE     ksocket-martin  orbit-martin
0
os.spawnlp(os.P_WAIT, 'spam', 'spam')
127




More information about the Python-list mailing list