Sign in to follow this  
Followers 0
Tsukihime

Prevent command line window from disappearing

4 posts in this topic

I'm calling a console exe but am not sure why it is not working.

The exe prints out an error message, but the window disappears too fast for me to read it.

How can I retrieve the message?

Share this post


Link to post
Share on other sites



hi Tsukihime,

Perhaps you can try reading the console output stream, using StdoutRead(), like

Hope this helps :huh2:

-smartee

Share this post


Link to post
Share on other sites

Oh, that's pretty cool.

I found an alternative where I just type `cmd /k path_to_exe` and the console window remains open.

But reading from stdout would be useful for other things I have in mind.

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  
Followers 0