ProcessModule

io.github.vigoo.prox.ProcessModule

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Prox
Self type

Members list

Type members

Classlikes

object Process

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Process.type

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

Attributes

Companion
object
Supertypes
trait ProcessLike
class Object
trait Matchable
class Any
Show all
Known subtypes
class ProcessImpl
class ProcessImplE[E]
class ProcessImplI
class ProcessImplIE[E]
class ProcessImplIO[O]
class ProcessImplIOE[O, E]
class ProcessImplO[O]
class ProcessImplOE[O, E]
Show all

The capability to configure process execution details

The capability to configure process execution details

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Process[O, E]
class ProcessImpl
class ProcessImplE[E]
class ProcessImplI
class ProcessImplIE[E]
class ProcessImplIO[O]
class ProcessImplIOE[O, E]
class ProcessImplO[O]
class ProcessImplOE[O, E]
Show all
Self type
Process[_, _]
trait ProcessResult[+O, +E]

Result of a finished process

Result of a finished process

Type parameters

E

Error output type

O

Output type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SimpleProcessResult[O, E]
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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JVMRunningProcess[O, E, Info]
case class SimpleProcessResult[+O, +E](exitCode: ProxExitCode, output: O, error: E) extends ProcessResult[O, E]

Default implementation of ProcessResult

Default implementation of ProcessResult

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ProcessResult[O, E]
class Object
trait Matchable
class Any
Show all