Archive: how do i know if another process i started has finished?


how do i know if another process i started has finished?
hi!

i'm trying to write an installer, that calls another installer (exec....). now the problem: the first installer should only be able to go on, if the other process has finished!
how can i do that?

thanx,
jp


Use ExecWait.


Thank you for the fast answer.
But I still have one problem: Is it not possible to start the other process with ExecWait and some parameters (as possible with ExecShell "open" "bla.exe" "parameters")?


Not with ExecWait.

-Stu


With ExecShell, you can open a document (doc, html etc.) with its associated viewer.

With Exec/ExecWait, you can execute an application with command line parameters:

ExecWait '"c:\app.exe" param'


Great! That´s it!! :)