Phil there is a component on Delphi Super Page called appexec. Actually I
have just found it here if you want me to send it through to you?

It has a wait property that will enable you to run the 3rd prog after the
second one finishes.

Matt.

----- Original Message -----
From: "Phil Scadden" <[EMAIL PROTECTED]>
To: "Multiple recipients of list DELphi" <[EMAIL PROTECTED]>
Sent: Wednesday, March 22, 2000 11:46 AM
Subject: [DUG]: shelling programs in sequence...


> I want run a program sandwiched between two others.
> Ie.
> First program runs: it starts another program (a 16 bit one). When the
second
> program completes, I want to pretty much guarantee that a 3rd program runs
> the moment the finishes - whatever the exit status. Both first and 2nd
programs
> have minimal but vital execution to perform. I dont have source for the
2nd program.
>
> I guess the first program shellexecutes the second, hides itself and waits
for
> second program to complete. How does it detect second program done?
>
> Ideas please??
>
> ----------------------------------------------------------
> Phil Scadden, Institute of Geological and Nuclear Sciences
> PO Box 30368, Lower Hutt, New Zealand
> Ph +64 4 5704821, fax +64 4 5704603
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to