RunningProcess

io.github.vigoo.prox.ProcessModule.RunningProcess
trait RunningProcess[O, E, +Info]

Representation of a running process

Type parameters

E

Error output type

Info

Runner-specific process information

O

Output type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JVMRunningProcess[O, E, Info]

Members list

Value members

Abstract 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

Concrete methods

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

Abstract fields

val info: Info

Gets the runner-specific process information

Gets the runner-specific process information

Attributes

val runningInput: ProxFiber[Unit]