Posix: Exec format error

Rolf Wester WESTER at ilt.fhg.de
Wed Jun 2 04:37:27 EDT 1999


Hi,

when doing the following:

import os
id=os.fork()
if id == 0:
    os.execl("/home/wester/test/test","-d", "indata")
else:
    os.wait()

I get the error message:

OSError: [Errno 8] Exec format error

Can aybody tell me how the format should look like?

Thanks in advance

Rolf







More information about the Python-list mailing list