ProcessModule

class Object
trait Matchable
class Any
trait Prox

Type members

Classlikes

object Process
Companion:
class
trait Process[O, E] extends ProcessLike with ProcessConfiguration

Describes a system process to be executed

Describes a system process to be executed

This base trait is always extended with redirection and configuration capabilities represented by the traits ProcessConfiguration, RedirectableInput, RedirectableOutput and RedirectableError.

To create a process use the constructor in the companion object Process.apply.

The process specification not only encodes the process to be started but also how its input, output and error streams are redirected and executed. For this reason the effect type is also bound by the process, not just at execution time.

Type parameters:
E

Error output type

O

Output type

Companion:
object

The capability to configure process execution details

The capability to configure process execution details

trait ProcessResult[+O, +E]

Result of a finished process

Result of a finished process

Type parameters:
E

Error output type

O

Output type

trait RunningProcess[O, E, +Info]

Representation of a running process

Representation of a running process

Type parameters:
E

Error output type

Info

Runner-specific process information

O

Output type

case class SimpleProcessResult[+O, +E](exitCode: ProxExitCode, output: O, error: E) extends ProcessResult[O, E]

Default implementation of ProcessResult

Default implementation of ProcessResult