Modify

Opened 16 years ago

Closed 16 years ago

#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 Changed 16 years ago by Valik

  • Milestone set to 3.2.13.1
  • Owner set to Valik
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version: 3.2.13.1

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Valik.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.