Process
Attributes
- Source
- Process.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Fiber blocks until the process exits, then returns the exit value.
Fiber blocks until the process exits, then returns the exit value. If the process has already exited then the exit value is available immediately.
Attributes
- Source
- Process.scala
Attributes
- Source
- Process.scala
A Stream
that reads from stderr
of the process.
A Stream
that reads from stderr
of the process. This stream should be compiled at most once, and interrupting or otherwise canceling a read-in-progress may kill the process. Not draining this Stream
may cause the process to block, or even deadlock.
Attributes
- Source
- Process.scala
A Pipe
that writes to stdin
of the process.
A Pipe
that writes to stdin
of the process. The resulting stream should be compiled at most once, and interrupting or otherwise canceling a write-in-progress may kill the process. If the process expects data through stdin
, you have to supply it or close it. Failure to do so may cause the process to block, or even deadlock.
stdin
resulting stream can be closed like this:
Attributes
- Example
-
Stream.empty.through(stdin).compile.drain
- Source
- Process.scala
A Stream
that reads from stdout
of the process.
A Stream
that reads from stdout
of the process. This stream should be compiled at most once, and interrupting or otherwise canceling a read-in-progress may kill the process. Not draining this Stream
may cause the process to block, or even deadlock.
Attributes
- Source
- Process.scala