mirror of
https://github.com/danog/process.git
synced 2024-11-26 20:24:43 +01:00
b2126ce56d
This might seem weird, but the output streams of a child process are input streams, because you read from them. There will be confusion no matter which names we choose, but I think it's less confusing if the class names match STDIN / STDOUT than matching the interface names. |
||
---|---|---|
bin/windows | ||
examples | ||
lib | ||
test | ||
.gitattributes | ||
.gitignore | ||
.php_cs | ||
.travis.yml | ||
appveyor.yml | ||
composer.json | ||
LICENSE | ||
Makefile | ||
phpunit.xml.dist | ||
README.md |
process
This package provides an asynchronous process dispatcher that works on all major platforms (including Windows).
As Windows pipes are file handles and do not allow non-blocking access, this package makes use of a process wrapper, that provides access to these pipes via sockets. On Unix-like systems it uses the standard pipes, as these can be accessed without blocking there. Concurrency is managed by the Amp event loop.
Installation
This package can be installed as a Composer dependency.
composer require amphp/process
Requirements
- PHP 7.0+
Versioning
amphp/process
follows the semver semantic versioning specification like all other amphp
packages.
Security
If you discover any security related issues, please email me@kelunik.com
instead of using the issue tracker.
License
The MIT License (MIT). Please see LICENSE
for more information.