BlockingProcess encapsulates an operating system process and its ability to be communicated with via stdio i.e.
BlockingProcess encapsulates an operating system process and its ability to be communicated with via stdio i.e.
stdin, stdout and stderr. The reactive streams for stdio are communicated in a BlockingProcess.Started event
upon the actor being established. The parent actor is then subsequently streamed
stdout and stderr events. When there are no more stdout or stderr events then the process's exit code is
communicated to the receiver in a BlockingProcess.Exited event unless the process is a detached one.
The actor should be associated with a dedicated dispatcher as various java.io calls are made which can block.
BlockingProcess encapsulates an operating system process and its ability to be communicated with via stdio i.e. stdin, stdout and stderr. The reactive streams for stdio are communicated in a BlockingProcess.Started event upon the actor being established. The parent actor is then subsequently streamed stdout and stderr events. When there are no more stdout or stderr events then the process's exit code is communicated to the receiver in a BlockingProcess.Exited event unless the process is a detached one.
The actor should be associated with a dedicated dispatcher as various
java.io
calls are made which can block.