crazedsanity / cs-multiproc
Framework for watching processes and daemonization
This package is not auto-updated.
Last update: 2024-12-27 23:08:12 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.