Skip to content

Std process processstream write

std:std.process.ProcessStream.Write

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

Writes data to process stdin.

Writes count bytes to the process.

Returns the number of bytes actually written.

Can return less than count if the process has ended.

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