execute(); echo yield $process->getStdout(); $code = yield $promise; echo "Process exited with {$code}.\n"; }));