Jump to content
Sign in to follow this  

How can I retrive the output of /ErrorStdOut?

Recommended Posts


From AutoIT help:


Form2: Compiled.exe [/ErrorStdOut] [params ...]

Execute an compiled AutoIt3 Script File produced with Aut2Exe


I try with:

$foo = Run("test.exe /ErrorStdOut")

$return =""

While 1

$return &= StdoutRead($foo)

If @error Then ExitLoop



But the return is blank :D

the code test.exe is simple:


for generate and error

Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key

Share this post

Link to post
Share on other sites

/ErrorStdOut is suitable for the script to pass STDIO to another process like to a editor like Scite. Scite will accept the STDIO and show it in the output pane.

What you can use for your example is the STDIO flag in Run(). StdoutRead() will then capture any ConsoleWrite() usage and display it in your message box.


Test.exe contains

ConsoleWrite("Hello World" & @CRLF)

and thew result tested is



Hello World





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.