Posix: Exec format error

Oleg Broytmann phd at emerald.netskate.ru
Wed Jun 2 05:24:42 EDT 1999


On Wed, 2 Jun 1999, Rolf Wester wrote:
>     os.execl("/home/wester/test/test","-d", "indata")

os.execl("/home/wester/test/test", "/home/wester/test/test", "-d", "indata")
         ^ ^ prog to run ^ ^       ^ pass this as argv[0] ^
                                       for that program

> Can aybody tell me how the format should look like?
> 
> Thanks in advance
> 
> Rolf

Oleg.
---- 
    Oleg Broytmann  http://emerald.netskate.ru/~phd/  phd at emerald.netskate.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list