Packages

  • package root
    Definition Classes
    root
  • package io
    Definition Classes
    root
  • package github
    Definition Classes
    io
  • package vigoo
    Definition Classes
    github
  • package prox

    Provides classes to work with system processes in a type safe way.

    Provides classes to work with system processes in a type safe way.

    Refer to the user guide for more information.

    A process to be executed is represented by the Process trait. Once it has finished running the results are in ProcessResult. We call a group of processes attached together a process group, represented by ProcessGroup, its result is described by ProcessGroupResult.

    Redirection of input, output and error is enabled by the RedirectableInput, RedirectableOutput and RedirectableError trait for single processes, and the RedirectableErrors trait for process groups.

    Processes and process groups are executed by a ProcessRunner, the default implementation is called JVMProcessRunner.

    Definition Classes
    vigoo
  • trait ProcessModule extends AnyRef
    Definition Classes
    prox
  • Process
  • ProcessConfiguration
  • ProcessResult
  • RunningProcess
  • SimpleProcessResult

object Process

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Process
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

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

    Process with no streams bound

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

    Process with bound error streams

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

    Process with bound input streams

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

    Process with bound input and error streams

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

    Process with bound input and output streams

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

    Process with bound input, output and error streams

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

    Process with bound output streams

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

    Process with bound output and error streams

  9. type UnboundEProcess[O] = Prox.Process[O, Unit] with Prox.RedirectableError[[β$1$]Prox.Process[O, β$1$]]

    Process with unbound error stream

  10. type UnboundIEProcess[O] = Prox.Process[O, Unit] with Prox.RedirectableInput[UnboundEProcess[O]] with Prox.RedirectableError[[β$3$]Prox.Process[O, β$3$] with Prox.RedirectableInput[Prox.Process[O, β$3$]]]

    Process with unbound input and error streams

  11. type UnboundIOProcess[E] = Prox.Process[Unit, E] with Prox.RedirectableInput[UnboundOProcess[E]] with Prox.RedirectableOutput[[α$2$]Prox.Process[α$2$, E] with Prox.RedirectableInput[Prox.Process[α$2$, E]]]

    Process with unbound input and output streams

  12. type UnboundIProcess[O, E] = Prox.Process[O, E] with Prox.RedirectableInput[Prox.Process[O, E]]

    Process with unbound input stream

  13. type UnboundOEProcess = Prox.Process[Unit, Unit] with Prox.RedirectableOutput[[α$4$]Prox.Process[α$4$, Unit] with Prox.RedirectableError[[β$1$]Prox.Process[α$4$, β$1$]]] with Prox.RedirectableError[[α$5$]Prox.Process[Unit, α$5$] with Prox.RedirectableOutput[[α$0$]Prox.Process[α$0$, α$5$]]]

    Process with unbound output and error streams

  14. type UnboundOProcess[E] = Prox.Process[Unit, E] with Prox.RedirectableOutput[[α$0$]Prox.Process[α$0$, E]]

    Process with unbound output stream

  15. type UnboundProcess = Prox.Process[Unit, Unit] with Prox.RedirectableInput[UnboundOEProcess] with Prox.RedirectableOutput[[α$6$]Prox.Process[α$6$, Unit] with Prox.RedirectableInput[Prox.Process[α$6$, Unit] with Prox.RedirectableError[[β$1$]Prox.Process[α$6$, β$1$]]] with Prox.RedirectableError[[β$3$]Prox.Process[α$6$, β$3$] with Prox.RedirectableInput[Prox.Process[α$6$, β$3$]]]] with Prox.RedirectableError[[α$7$]Prox.Process[Unit, α$7$] with Prox.RedirectableInput[Prox.Process[Unit, α$7$] with Prox.RedirectableOutput[[α$0$]Prox.Process[α$0$, α$7$]]] with Prox.RedirectableOutput[[α$2$]Prox.Process[α$2$, α$7$] with Prox.RedirectableInput[Prox.Process[α$2$, α$7$]]]]

    Process with unbound input, output and error streams

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(command: String, arguments: List[String] = List.empty): 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.

    command

    Command to be executed

    arguments

    Arguments for the command

    returns

    the process specification

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped