ProcessStream

final case class ProcessStream(inputStream: InputStream)
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def lines: ZIO[Blocking, CommandError, Chunk[String]]

Return the output of this process as a list of lines (default encoding of UTF-8).

Return the output of this process as a list of lines (default encoding of UTF-8).

def lines(charset: Charset): ZIO[Blocking, CommandError, Chunk[String]]

Return the output of this process as a list of lines with the specified encoding.

Return the output of this process as a list of lines with the specified encoding.

def linesStream: ZStream[Blocking, CommandError, String]

Return the output of this process as a stream of lines (default encoding of UTF-8).

Return the output of this process as a stream of lines (default encoding of UTF-8).

def stream: ZStream[Blocking, CommandError, Byte]

Return the output of this process as a chunked stream of bytes.

Return the output of this process as a chunked stream of bytes.

def string: ZIO[Blocking, CommandError, String]

Return the entire output of this process as a string (default encoding of UTF-8).

Return the entire output of this process as a string (default encoding of UTF-8).

def string(charset: Charset): ZIO[Blocking, CommandError, String]

Return the entire output of this process as a string with the specified encoding.

Return the entire output of this process as a string with the specified encoding.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product