jp730
20th September 2003 21:15 UTC
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
Joost Verburg
20th September 2003 21:53 UTC
Use ExecWait.
jp730
20th September 2003 22:09 UTC
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")?
Afrow UK
20th September 2003 22:24 UTC
Not with ExecWait.
-Stu
Joost Verburg
20th September 2003 22:25 UTC
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'
jp730
20th September 2003 22:51 UTC
Great! That´s it!! :)