JVMProcessRunnerBase

abstract

Default implementation of ProcessRunner using the Java process API

Companion
object
trait ProcessRunner[Info]
class Object
trait Matchable
class Any

Value members

Concrete methods

override
def startProcess[O, E](process: Process[O, E]): ProxIO[RunningProcess[O, E, Info]]
Definition Classes
override
def startProcessGroup[O, E](processGroup: ProcessGroup[O, E]): ProxIO[RunningProcessGroup[O, E, Info]]
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 Params
E

Error output type

O

Output type

Value Params
processGroup

The process group to be started

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 Params
E

Error output type

O

Output type

Value Params
process

The process to be started

Returns

interface for handling the running process

Inherited from
ProcessRunner