[fpc-devel] TProcess.NumBytesAvailable
Vincent Snijders
vsnijders at quicknet.nl
Wed Jan 31 12:49:05 CET 2007
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.
Maybe you want a different name for the property or different implementation
details. If so, let it know, so I can adapt the patch.
Vincent
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tprocess.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20070131/f8b2f008/attachment.ksh>
More information about the fpc-devel
mailing list