exec* exiting?
Paul Rubin
phr-n2001 at nightsong.com
Sun Aug 19 17:38:11 EDT 2001
Neil Macneale <mac4-devnull at theory.org> writes:
> Why does the interpreter exit when I use the os.execl() function? Even when
> the command works correctly, the interpreter exits. Am I supposed to run
> this function is a seperate thread? Thats lame, if so.
The exec system call replaces the current program image with the program
that you exec. See a Unix manual. You're supposed to fork and run
exec in a new process. Why don't you use popen or something like that?
More information about the Python-list
mailing list