crazedsanity / cs-multiproc
Framework for watching processes and daemonization
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/crazedsanity/cs-multiproc
This package is not auto-updated.
Last update: 2025-10-04 03:02:30 UTC
README
NOTE::: this project was previously called "cs-multithread", but was renamed due to the fact that it's actually for creating multiple processes (and PHP can't actually handle threading).
For more (or maybe less) up-to-date information, please view the wiki. This document serves as an excruciatingly brief functionality overview. The basics:
"Single Process"
This library spawns a single process and monitors it's output, errors, and exit codes. There are actually (at least) two processes spawn: the PHP process that runs the script, and a secondary process which is the command to be monitored.
"Multi Process"
This library will spawn multiple versions of the "Single Process".
Licensing
This library is dual-licensed under the GPLv2 and MIT licenses.