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.
A dispatcher as indicated by the "akka.process.blocking-process.blocking-io-dispatcher-id" setting is used
internally by the actor as various JDK 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.
A dispatcher as indicated by the "akka.process.blocking-process.blocking-io-dispatcher-id" setting is used internally by the actor as various JDK calls are made which can block.