[fpc-devel] TProcess.NumBytesAvailable

Marc Weustink marc.weustink at cuperus.nl
Wed Jan 31 13:04:24 CET 2007


Vincent Snijders wrote:
> Hi,
> 
> TAsyncProcess from the LCL has a property NumBytesAvailable. Attached 
> patch adds it to TProcess in the FCL.
> 
> NumBytesAvailable checks how many bytes are available in 
> TProcess.Output, so you can  decide not to read from it if there are no 
> bytes available.

What about StdErr output ?

Cant this be a property of the TInputPipeStream ?


Marc




More information about the fpc-devel mailing list