Process

io.github.vigoo.prox.ProcessModule.Process
See theProcess companion trait
object Process

Attributes

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

Members list

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], RedirectableOutput[ProcessImplO], RedirectableError[ProcessImplE], RedirectableInput[ProcessImplI]

Process with no streams bound

Process with no streams bound

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Process[Unit, Unit]
trait ProcessLike
class Object
trait Matchable
class Any
Show all
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], RedirectableInput[ProcessImplIE[E]], RedirectableOutput[ProcessImplOE]

Process with bound error streams

Process with bound error streams

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Process[Unit, E]
trait ProcessLike
class Object
trait Matchable
class Any
Show all
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], RedirectableOutput[ProcessImplIO], RedirectableError[ProcessImplIE]

Process with bound input streams

Process with bound input streams

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Process[Unit, Unit]
trait ProcessLike
class Object
trait Matchable
class Any
Show all
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], RedirectableOutput[ProcessImplIOE]

Process with bound input and error streams

Process with bound input and error streams

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Process[Unit, E]
trait ProcessLike
class Object
trait Matchable
class Any
Show all
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], RedirectableError[[_] =>> ProcessImplIOE[O, _$10]]

Process with bound input and output streams

Process with bound input and output streams

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RedirectableError[[_] =>> ProcessImplIOE[O, _$10]]
trait Process[O, Unit]
trait ProcessLike
class Object
trait Matchable
class Any
Show all
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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Process[O, E]
trait ProcessLike
class Object
trait Matchable
class Any
Show all
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], RedirectableError[[_] =>> ProcessImplOE[O, _$12]], RedirectableInput[ProcessImplIO[O]]

Process with bound output streams

Process with bound output streams

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RedirectableError[[_] =>> ProcessImplOE[O, _$12]]
trait Process[O, Unit]
trait ProcessLike
class Object
trait Matchable
class Any
Show all
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], RedirectableInput[ProcessImplIOE[O, E]]

Process with bound output and error streams

Process with bound output and error streams

Attributes

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

Types

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

Process with unbound error stream

Process with unbound error stream

Attributes

Process with unbound input and error streams

Process with unbound input and error streams

Attributes

Process with unbound input and output streams

Process with unbound input and output streams

Attributes

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

Process with unbound input stream

Process with unbound input stream

Attributes

Process with unbound output and error streams

Process with unbound output and error streams

Attributes

Process with unbound output stream

Process with unbound output stream

Attributes

Process with unbound input, output and error streams

Process with unbound input, output and error streams

Attributes

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 parameters

arguments

Arguments for the command

command

Command to be executed

Attributes

Returns

the process specification