TOC Index
Buffered inter-process string or binary stream
class IO::Pipe is IO::Handle {}
An IO::Pipe object closely corresponds to a UNIX pipe. It has one end where it consumes string or binary data, and another where it reproduces the same data. It is buffered, so that a write without a read doesn't immediately block.
Pipes can be easily constructed with sub run and Proc::Async.new.
method close(IO::Pipe: --> Proc:D)
Closes the pipe and returns Proc object from which the pipe originates.
method IO(IO::Pipe: --> IO::Path:U)
Returns an IO::Path type object.
method path(IO::Pipe: --> IO::Path:U)
method proc(IO::Pipe: --> Proc:D)
Returns the Proc object from which the pipe originates.