﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
232	StdoutRead with peek = true doesn't exits loop	gcriaco <gcriaco@…>		"Using peek = true the StdoutRead loop never terminates (@error = 0)

See the example below:

#include <Constants.au3>

Local $foo = Run(@ComSpec & "" /c dir foo.bar"", @SystemDir, @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)
Local $line
While 1
    $line = StdoutRead($foo, True)
    If @error Then ExitLoop
    MsgBox(0, ""STDOUT read:"", $line)
Wend

MsgBox(0, ""Debug"", ""Exiting..."")
"	Bug	closed		AutoIt	3.2.11.10	None	No Bug		
