Modify ↓
#367 closed Bug (Fixed)
StdOutRead Error in compiled program
| Reported by: | anonymous | Owned by: | Valik |
|---|---|---|---|
| Milestone: | 3.2.13.1 | Component: | AutoIt |
| Version: | 3.2.13.0 | Severity: | None |
| Keywords: | StdOutRead | Cc: |
Description
Hallo,
StdOutRead produces an error in the compiled program:
(compiled with AutoIt 3.2.13.0 Beta, WinXP)
From the help-file:
; Demonstrates StdoutRead()
#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)
If @error Then ExitLoop
MsgBox(0, "STDOUT read:", $line)
Wend
While 1
$line = StderrRead($foo)
If @error Then ExitLoop
MsgBox(0, "STDERR read:", $line)
Wend
MsgBox(0, "Debug", "Exiting...")
The compiled demo will show following message:
AutoIt Error
Line -1:
Error: Unknown function name.
The uncompiled demo works OK.
Many thanks to the developer-team of AutoI.
Very good job.
Attachments (0)
Change History (1)
comment:1 by , on Jun 11, 2008 at 6:42:41 PM
| Milestone: | → 3.2.13.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in version: 3.2.13.1