Jump to content
Sign in to follow this  
Tsukihime

Prevent command line window from disappearing

Recommended Posts

Tsukihime

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
smartee

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
Tsukihime

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.