Registry / async / react-child-process

react-child-process

JSON →
library0.6.7phppackagistunverified

Event-driven library for executing child processes with ReactPHP.

composer require react/child-process
INSTALL
IMPORT
SIG · REACT-CHILD-PROCES
R
react-child-process
asyncphpv0.6.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Process
use React\ChildProcess\Process;

Execute a shell command asynchronously and handle its exit.

use React\ChildProcess\Process; $process = new Process('ls -la'); $process->start(); $process->on('exit', function ($exitCode) { echo "Process exited with code $exitCode\n"; });
Debug
Known issues
gotchaRequires an event loop (e.g., React\EventLoop) to run; not standalone.
fix
Integrate with React\EventLoop\Loop::run().
affects: *
Upgrade
Version history
0.6.7latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
Resources
react-child-process — pip install react-child-process · libregistry