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?
Calling another application and waiting
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Calling another application and waiting
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."
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."