trait ProcessErrorTarget[O, R] extends ProcessIO[O, R]
Base trait for error redirection handlers
- O
The redirection stream element type
- R
Result type we get by running the redirection stream
- Alphabetic
- By Inheritance
- ProcessErrorTarget
- ProcessIO
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
connect(systemProcess: java.lang.Process)(implicit executionContext: ExecutionContext): Stream[IO, 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
- executionContext
Execution context for the created stream
- returns
Returns the not yet started redirection stream
- Definition Classes
- ProcessIO
-
abstract
def
run(stream: Stream[IO, O])(implicit executionContext: ExecutionContext): IO[IO[R]]
Runs the redirection stream
Runs the redirection stream
- stream
The stream to be executed
- executionContext
Execution context to use
- 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
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): 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[_]
- 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )