crazedsanity/cs-multiproc

Framework for watching processes and daemonization

0.3.7 2014-01-20 14:39 UTC

This package is not auto-updated.

Last update: 2024-11-01 22:18: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.