ProcessStream

zio.process.ProcessStream
final case class ProcessStream(inputStream: InputStream)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def lines: ZIO[Any, 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).

Attributes

def lines(charset: Charset): ZIO[Any, 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.

Attributes

def linesStream: ZStream[Any, 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).

Attributes

def stream: ZStream[Any, 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.

Attributes

def string: ZIO[Any, 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).

Attributes

def string(charset: Charset): ZIO[Any, 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.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product