JVMRunningProcess

io.github.vigoo.prox.ProcessRunnerModule.JVMRunningProcess
class JVMRunningProcess[O, E, +Info <: JVMProcessInfo](val nativeProcess: Process, val runningInput: ProxFiber[Unit], val runningOutput: ProxFiber[O], val runningError: ProxFiber[E], val info: Info) extends RunningProcess[O, E, Info]

Default implementation of RunningProcess using the Java process API

Attributes

Graph
Supertypes
trait RunningProcess[O, E, Info]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def isAlive: ProxIO[Boolean]

Checks whether the process is still running

Checks whether the process is still running

Attributes

def kill(): ProxIO[ProcessResult[O, E]]

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

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

Attributes

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

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

Attributes

Block until the process stops

Block until the process stops

Attributes

Inherited methods

def mapInfo[I2](f: Info => I2): RunningProcess[O, E, I2]

Attributes

Inherited from:
RunningProcess

Concrete fields

override val info: Info

Gets the runner-specific process information

Gets the runner-specific process information

Attributes

val nativeProcess: Process
override val runningError: ProxFiber[E]
override val runningInput: ProxFiber[Unit]
override val runningOutput: ProxFiber[O]