Download the PHP package tasoft/process without Composer
On this page you can find all versions of the php package tasoft/process. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package process
TASoft Process
This library controls process management using the PHP extension .
Installation
Simple Usage
Problem
The main problem is that a forked process runs in an exact copy of the environment.
That means, on calling the child process gets a copy of the current environment.
This raises two problems:
- Everything you change (properties, $variables, etc) in the child process, remains there.
- Everything you change in the parent process, remains there also.
Solution
I use the Pipe class. It creates a unix socket pair to communicate between the two processes.
Example With Pipe
Don't import the parent process!
All versions of process with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
ext-sockets Version *
ext-pcntl Version *
ext-posix Version *
ext-sockets Version *
ext-pcntl Version *
ext-posix Version *
The package tasoft/process contains the following files
Loading the files please wait ....