Lauch program in the same shell
Tim Peters
tim_one at email.msn.com
Sat Apr 3 02:54:56 EST 1999
[Martin Tremblay]
> Version: 1.51
> Env: Nt
>
> In a script, I want to lauch an executable in the same shell,
> wait that this executable finish and launch another executable.
> I've try with execlp but the executable isn't lauch in the same
> shell as the script and the script exit when the exec is launch
> (so I can't lauch any other executable in this script).
>
> I'm sure there is an easy way to do what I want...
Try os.system("some command"), or if that doesn't work either be very
specific by posting executable code that demonstrates your problem.
i-thought-execlp-would-be-useful-until-it-was-added<wink>-ly y'rs - tim
More information about the Python-list
mailing list