Manual
Processes
Run child processes without blocking the other coroutines.
Introduction#
Process::run() (through ProcessRunner, behind ProcessInterface) starts a child process and hands back its standard streams to read and write from a coroutine, without blocking the others while it runs. See Running processes for starting several at once, talking back and forth, and timing one out.
Guides#
- Running processes – Run external programs without blocking a worker.
Examples#
- All examples of this topic – 3 with their output.
Reference#
Process– Starts a child process whose standard streams are used from coroutines without blocking the others.ProcessInterface– A child process started with Process::run(), with its standard streams usable from coroutines.ProcessRunner– The implementation behind Process::run(): starts a child process and controls it.