class JVMProcessRunner[F[_]] extends ProcessRunner[F]
Default implementation of ProcessRunner using the Java process API
- Alphabetic
- By Inheritance
- JVMProcessRunner
- ProcessRunner
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new JVMProcessRunner()(implicit concurrent: Concurrent[F], contextShift: ContextShift[F])
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()
-
implicit
val
concurrent: Concurrent[F]
- Definition Classes
- JVMProcessRunner → ProcessRunner
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
start[O, E](processGroup: ProcessGroup[F, O, E], blocker: Blocker): Resource[F, Fiber[F, ProcessGroupResult[F, 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
- blocker
Execution context for blocking operations
- returns
interface for handling the running process
- Definition Classes
- ProcessRunner
-
def
start[O, E](process: Process[F, O, E], blocker: Blocker): Resource[F, Fiber[F, 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
- blocker
Execution context for blocking operations
- returns
interface for handling the running process
- Definition Classes
- ProcessRunner
-
def
startProcess[O, E](process: Process[F, O, E], blocker: Blocker): F[RunningProcess[F, O, E]]
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
- blocker
Execution context for blocking operations
- returns
interface for handling the running process
- Definition Classes
- JVMProcessRunner → ProcessRunner
-
def
startProcessGroup[O, E](processGroup: ProcessGroup[F, O, E], blocker: Blocker): F[RunningProcessGroup[F, O, E]]
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
- blocker
Execution context for blocking operations
- returns
interface for handling the running process group
- Definition Classes
- JVMProcessRunner → ProcessRunner
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()