ProcessRunner
Interface for running processes and process groups
The default implementation is JVMProcessRunner
Type parameters
- Info
-
The type of information provided for a started process
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class JVMProcessRunnerBase[Info]class JVMProcessRunner
Members list
Value members
Abstract methods
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
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
Concrete methods
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
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