trait ProcessRunner[Info] extends AnyRef
Interface for running processes and process groups
The default implementation is JVMProcessRunner
- Info
The type of information provided for a started process
- Alphabetic
- By Inheritance
- ProcessRunner
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
startProcess[O, E](process: Prox.Process[O, E]): Prox.ProxIO[Prox.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
- O
Output type
- E
Error output type
- process
The process to be started
- returns
interface for handling the running process
-
abstract
def
startProcessGroup[O, E](processGroup: Prox.ProcessGroup[O, E]): Prox.ProxIO[Prox.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
- O
Output type
- E
Error output type
- processGroup
The process group to start
- returns
interface for handling the running process group
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
start[O, E](processGroup: Prox.ProcessGroup[O, E]): Prox.ProxResource[Prox.ProxFiber[Prox.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.
- O
Output type
- E
Error output type
- processGroup
The process group to be started
- returns
interface for handling the running process
-
def
start[O, E](process: Prox.Process[O, E]): Prox.ProxResource[Prox.ProxFiber[Prox.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.
- O
Output type
- E
Error output type
- process
The process to be started
- returns
interface for handling the running process
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated