Skip to content

Std process processstream read

std:std.process.ProcessStream.Read

Method Read:Int( buf:Void Ptr,count:Int )#
Method Read:Int( data:DataBuffer,offset:Int,count:Int )#

Reads data from process stdout.

Reads at most count bytes from the process.

Returns 0 if the process has ended.

Can return less than count, in which case you may have to read again if you know there's more data coming.

Parameters
buf buf The memory buffer to read data into.
count count The number of bytes to read from the process.