Sign in to follow this  
sir_wojciech

How to check if an application finished working?

Recommended Posts

I'm executing a console application (via ShellExecute). And it does some calculations. How to check if that application finished working (it should return 0 when it finishes)? I'm doing this in c++ on windows (winapi). Thanks in advance!

Share this post


Link to post
Share on other sites
That solved the problem, but made a new one. The application I execute (via CreateProcess) writes it's output in my console application (in the one that executed it - parent). How to stop it? (so it doesn't write it's output in parent's process 's console)

Thanks in advance!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this