Process

final case class Process(process: Process)
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def execute[T](f: Process => T): ZIO[Blocking, CommandError, T]

Access the underlying Java Process wrapped in a blocking ZIO.

Access the underlying Java Process wrapped in a blocking ZIO.

def exitCode: ZIO[Blocking, CommandError, ExitCode]

Return the exit code of this process.

Return the exit code of this process.

def successfulExitCode: ZIO[Blocking, CommandError, ExitCode]

Return the exit code of this process if it is zero. If non-zero, it will fail with CommandError.NonZeroErrorCode.

Return the exit code of this process if it is zero. If non-zero, it will fail with CommandError.NonZeroErrorCode.

Inherited methods

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

Concrete fields

Access the standard error stream.

Access the standard error stream.

Access the standard output stream.

Access the standard output stream.