trait ProcessOutputTarget[F[_], O, R] extends ProcessIO[F, O, R]
Base trait for output redirection handlers
- O
The redirection stream element type
- R
Result type we get by running the redirection stream
- Alphabetic
- By Inheritance
- ProcessOutputTarget
- ProcessIO
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def connect(systemProcess: java.lang.Process, blocker: Blocker)(implicit contextShift: ContextShift[F]): Stream[F, O]
Sets up the redirection on the given system process
Sets up the redirection on the given system process
- systemProcess
The process to connect to
- blocker
The execution context on which the blocking IO stream reads/writes will be executed
- contextShift
Context shifter
- returns
Returns the not yet started redirection stream
- Definition Classes
- ProcessIO
- abstract def run(stream: Stream[F, O])(implicit contextShift: ContextShift[F]): F[Fiber[F, R]]
Runs the redirection stream
Runs the redirection stream
- stream
The stream to be executed
- contextShift
Context shifter
- returns
Returns the async result of running the stream
- Definition Classes
- ProcessIO
- abstract def toRedirect: Redirect
Gets the redirection mode
Gets the redirection mode
- Definition Classes
- ProcessIO
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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()
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()