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 ProcessRunnerModule extends AnyRef
    Definition Classes
    prox
  • JVMProcessInfo
  • JVMProcessRunner
  • JVMProcessRunnerBase
  • JVMRunningProcess
  • JVMRunningProcessGroup
  • ProcessRunner

class JVMRunningProcess[O, E, +Info <: Prox.JVMProcessInfo] extends Prox.RunningProcess[O, E, Info]

Default implementation of RunningProcess using the Java process API

Linear Supertypes
Prox.RunningProcess[O, E, Info], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JVMRunningProcess
  2. RunningProcess
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JVMRunningProcess(nativeProcess: Process, runningInput: Prox.ProxFiber[Unit], runningOutput: Prox.ProxFiber[O], runningError: Prox.ProxFiber[E], info: Info)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. val info: Info

    Gets the runner-specific process information

    Gets the runner-specific process information

    Definition Classes
    JVMRunningProcessRunningProcess
  11. def isAlive: Prox.ProxIO[Boolean]

    Checks whether the process is still running

    Checks whether the process is still running

    Definition Classes
    JVMRunningProcessRunningProcess
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def kill(): Prox.ProxIO[Prox.ProcessResult[O, E]]

    Forced termination of the process.

    Forced termination of the process. Blocks until the process stops.

    Definition Classes
    JVMRunningProcessRunningProcess
  14. def mapInfo[I2](f: (Info) => I2): Prox.RunningProcess[O, E, I2]
    Definition Classes
    RunningProcess
  15. val nativeProcess: Process
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. val runningError: Prox.ProxFiber[E]
    Definition Classes
    JVMRunningProcessRunningProcess
  20. val runningInput: Prox.ProxFiber[Unit]
    Definition Classes
    JVMRunningProcessRunningProcess
  21. val runningOutput: Prox.ProxFiber[O]
    Definition Classes
    JVMRunningProcessRunningProcess
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def terminate(): Prox.ProxIO[Prox.ProcessResult[O, E]]

    Normal termination of the process.

    Normal termination of the process. Blocks until the process stops.

    Definition Classes
    JVMRunningProcessRunningProcess
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. def waitForExit(): Prox.ProxIO[Prox.ProcessResult[O, E]]

    Block until the process stops

    Block until the process stops

    Definition Classes
    JVMRunningProcessRunningProcess

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Prox.RunningProcess[O, E, Info]

Inherited from AnyRef

Inherited from Any

Ungrouped