From: tim_one at email.msn.com (Tim Peters)
Date: Sat, 3 Apr 1999 07:54:56 GMT
Subject: Lauch program in the same shell
In-Reply-To: <816010E2456BD111A48700805FBBE2EEBBC0AA@ex-quebec-u1.baan.com>
References: <816010E2456BD111A48700805FBBE2EEBBC0AA@ex-quebec-u1.baan.com>
Message-ID: <000401be7da7$43f20ee0$879e2299@tim>
X-UID: 1622                                                  

[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






