Registry / async / cocur-background-process

cocur-background-process

JSON →
library0.7phppackagistunverified

Start processes in the background that continue running when the PHP process exists.

composer require cocur/background-process
INSTALL
IMPORT
SIG · COCUR-BACKGROUND-P
C
cocur-background-process
asyncphpv0.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.

BackgroundProcess
use Cocur\BackgroundProcess\BackgroundProcess;

Run a shell command in the background

use Cocur\BackgroundProcess\BackgroundProcess; $process = new BackgroundProcess('sleep 10'); $process->run();
Debug
Known issues
gotchaProcesses may not be properly cleaned up on script termination.
fix
Use proper process management or signal handling.
affects: <1.0
Upgrade
Version history
0.7latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
28
Resources