Page 1 of 1

Calling another application and waiting

Posted: July 19th, 2018, 3:04 pm
by AriSilva
I want to call an application with execsystem, and then wait for that app to finish to continue my program, since it has to read the file that the other appl wrote.
How should I do that?
I was thinking about staying inside a do while until something happens, but what?
How do I know that the other app has finished?

Re: Calling another application and waiting

Posted: July 28th, 2018, 11:59 pm
by Gregory Martin
If you're working in Windows, then see this:

http://www.csprousers.org/help/CSPro/ex ... sktop.html

You can use the wait flag. "The application is opened and CSPro waits until it closes to resume program control."