Tsukihime Posted May 26, 2011 Share Posted May 26, 2011 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? Link to comment Share on other sites More sharing options...
smartee Posted May 26, 2011 Share Posted May 26, 2011 hi Tsukihime,Perhaps you can try reading the console output stream, using StdoutRead(), like Hope this helps -smartee Link to comment Share on other sites More sharing options...
Tsukihime Posted May 26, 2011 Author Share Posted May 26, 2011 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. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 26, 2011 Developers Share Posted May 26, 2011 replace the /c for a /k run(@comspec & " /k dir") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now