Modify

Opened 15 years ago

Closed 11 years ago

#1127 closed Feature Request (Rejected)

Implement a new function : StdOutReadLine

Reported by: i-love-autoit@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: stoutread, output, run, stream, buffer, input, line Cc:

Description

Hi there,

I would like to see a new function in AutoIT : StdOutReadLine.

This function would return only the first line not already read of a program output.

It could also be implemented with only a new parameter for the number of bytes to read (even if it has to wait for these bytes).

I'm asking for this feature because StdOutRead is quite hard to use especially when you need to read some progression from the output.

Usually it takes some big post-processing to parse it and so it slows down the main program.

Thank you very much for developping AutoIT.

Tibo, author of LinuxLive USB Creator (formerly uSbuntu Live Creator) both written in AutoIT.


Attachments (0)

Change History (3)

comment:1 Changed 15 years ago by Valik

Hmm.

comment:2 Changed 13 years ago by paulpmeier

StdoutReadLine
Reads (only) a line from the STDOUT stream of a previously run child process.

Like oExec.stdout.readline for the WshScriptExec object.
It might be useful for Robocopy or other commandline programms which writes without stops into the stream buffer.

comment:3 Changed 11 years ago by Jon

  • Resolution set to Rejected
  • Status changed from new to closed

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 ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.