JVMProcessRunnerBase

io.github.vigoo.prox.ProcessRunnerModule.JVMProcessRunnerBase
See theJVMProcessRunnerBase companion object
abstract class JVMProcessRunnerBase[Info <: JVMProcessInfo] extends ProcessRunner[Info]

Default implementation of ProcessRunner using the Java process API

Attributes

Companion
object
Graph
Supertypes
trait ProcessRunner[Info]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

override def startProcess[O, E](process: Process[O, E]): ProxIO[RunningProcess[O, E, Info]]

Starts the process asynchronously and returns the RunningProcess interface for it

Starts the process asynchronously and returns the RunningProcess interface for it

Type parameters

E

Error output type

O

Output type

Value parameters

process

The process to be started

Attributes

Returns

interface for handling the running process

Definition Classes
override def startProcessGroup[O, E](processGroup: ProcessGroup[O, E]): ProxIO[RunningProcessGroup[O, E, Info]]

Starts a process group asynchronously and returns an interface for them

Starts a process group asynchronously and returns an interface for them

Type parameters

E

Error output type

O

Output type

Value parameters

processGroup

The process group to start

Attributes

Returns

interface for handling the running process group

Definition Classes

Inherited methods

def start[O, E](processGroup: ProcessGroup[O, E]): ProxResource[ProxFiber[ProcessGroupResult[O, E]]]

Starts the process group asynchronously and returns a managed fiber representing it

Starts the process group asynchronously and returns a managed fiber representing it

Joining the fiber means waiting until the process gets terminated. Cancelling the fiber terminates the process.

Type parameters

E

Error output type

O

Output type

Value parameters

processGroup

The process group to be started

Attributes

Returns

interface for handling the running process

Inherited from:
ProcessRunner
def start[O, E](process: Process[O, E]): ProxResource[ProxFiber[ProcessResult[O, E]]]

Starts the process asynchronously and returns a managed fiber representing it

Starts the process asynchronously and returns a managed fiber representing it

Joining the fiber means waiting until the process gets terminated. Cancelling the fiber terminates the process.

Type parameters

E

Error output type

O

Output type

Value parameters

process

The process to be started

Attributes

Returns

interface for handling the running process

Inherited from:
ProcessRunner