How to start a process?
David Lees
DavidL at nonospamraqia.com
Mon Dec 11 16:59:26 EST 2000
More information about the Python-list mailing list
Mon Dec 11 16:59:26 EST 2000
- Previous message (by thread): HPUX install
- Next message (by thread): How to start a process?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I would like to start up a number of simultaneos processes from a Python
script. Can someone explain or refer me to a document that explains
what is going on below. As a test I am executing a script 'hack.py'.
Why do I get this OSError when I try using execv, but it runs when I use
'execfile'?
Thanks in advance.
david lees
>>> execfile('hack.py')
foo to you charlie
more hacks
>>> os.execv('e:\python20\hack.py',['foo','bar'])
Traceback (innermost last):
File "<interactive input>", line 1, in ?
OSError: [Errno 8] Exec format error
>>>
- Previous message (by thread): HPUX install
- Next message (by thread): How to start a process?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list