Process

object Process
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

case
class ProcessImpl(command: String, arguments: List[String], workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String], outputRedirection: OutputRedirection, runOutputStream: InputStream => ProxIO[Unit], errorRedirection: OutputRedirection, runErrorStream: InputStream => ProxIO[Unit], inputRedirection: InputRedirection) extends Process[Unit, Unit] with RedirectableOutput[ProcessImplO] with RedirectableError[ProcessImplE] with RedirectableInput[ProcessImplI]

Process with no streams bound

Process with no streams bound

case
class ProcessImplE[E](command: String, arguments: List[String], workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String], outputRedirection: OutputRedirection, runOutputStream: InputStream => ProxIO[Unit], errorRedirection: OutputRedirection, runErrorStream: InputStream => ProxIO[E], inputRedirection: InputRedirection) extends Process[Unit, E] with RedirectableInput[ProcessImplIE[E]] with RedirectableOutput[ProcessImplOE]

Process with bound error streams

Process with bound error streams

case
class ProcessImplI(command: String, arguments: List[String], workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String], outputRedirection: OutputRedirection, runOutputStream: InputStream => ProxIO[Unit], errorRedirection: OutputRedirection, runErrorStream: InputStream => ProxIO[Unit], inputRedirection: InputRedirection) extends Process[Unit, Unit] with RedirectableOutput[ProcessImplIO] with RedirectableError[ProcessImplIE]

Process with bound input streams

Process with bound input streams

case
class ProcessImplIE[E](command: String, arguments: List[String], workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String], outputRedirection: OutputRedirection, runOutputStream: InputStream => ProxIO[Unit], errorRedirection: OutputRedirection, runErrorStream: InputStream => ProxIO[E], inputRedirection: InputRedirection) extends Process[Unit, E] with RedirectableOutput[ProcessImplIOE]

Process with bound input and error streams

Process with bound input and error streams

case
class ProcessImplIO[O](command: String, arguments: List[String], workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String], outputRedirection: OutputRedirection, runOutputStream: InputStream => ProxIO[O], errorRedirection: OutputRedirection, runErrorStream: InputStream => ProxIO[Unit], inputRedirection: InputRedirection) extends Process[O, Unit] with RedirectableError[[_] =>> ProcessImplIOE[O, _$10]]

Process with bound input and output streams

Process with bound input and output streams

case
class ProcessImplIOE[O, E](command: String, arguments: List[String], workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String], outputRedirection: OutputRedirection, runOutputStream: InputStream => ProxIO[O], errorRedirection: OutputRedirection, runErrorStream: InputStream => ProxIO[E], inputRedirection: InputRedirection) extends Process[O, E]

Process with bound input, output and error streams

Process with bound input, output and error streams

case
class ProcessImplO[O](command: String, arguments: List[String], workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String], outputRedirection: OutputRedirection, runOutputStream: InputStream => ProxIO[O], errorRedirection: OutputRedirection, runErrorStream: InputStream => ProxIO[Unit], inputRedirection: InputRedirection) extends Process[O, Unit] with RedirectableError[[_] =>> ProcessImplOE[O, _$12]] with RedirectableInput[ProcessImplIO[O]]

Process with bound output streams

Process with bound output streams

case
class ProcessImplOE[O, E](command: String, arguments: List[String], workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String], outputRedirection: OutputRedirection, runOutputStream: InputStream => ProxIO[O], errorRedirection: OutputRedirection, runErrorStream: InputStream => ProxIO[E], inputRedirection: InputRedirection) extends Process[O, E] with RedirectableInput[ProcessImplIOE[O, E]]

Process with bound output and error streams

Process with bound output and error streams

Types

type UnboundEProcess[O] = Process[O, Unit] & RedirectableError[[_] =>> Process[O, _$3]]

Process with unbound error stream

Process with unbound error stream

Process with unbound input and error streams

Process with unbound input and error streams

Process with unbound input and output streams

Process with unbound input and output streams

type UnboundIProcess[O, E] = Process[O, E] & RedirectableInput[Process[O, E]]

Process with unbound input stream

Process with unbound input stream

Process with unbound output and error streams

Process with unbound output and error streams

Process with unbound output stream

Process with unbound output stream

Process with unbound input, output and error streams

Process with unbound input, output and error streams

Value members

Concrete methods

def apply(command: String, arguments: List[String]): ProcessImpl

Defines a process to be executed

Defines a process to be executed

The process by default uses the standard input, output and error streams.

Value Params
arguments

Arguments for the command

command

Command to be executed

Returns

the process specification