1
0
mirror of https://github.com/danog/process.git synced 2024-11-26 20:24:43 +01:00
Go to file
Niklas Keller 4a7eb21797 Simplify example
This currently fails to execute correctly, because processes are killed if the reference is garbage collected. A later commit will fix this.
2018-07-20 20:57:44 +02:00
bin/windows Refactor for full Windows compatibility 2017-11-24 18:43:56 -06:00
examples Simplify example 2018-07-20 20:57:44 +02:00
lib Simplify example 2018-07-20 20:57:44 +02:00
test Produce failing test for ext-task 2018-07-12 08:46:13 +02:00
.gitattributes Add Makefile and update git files 2017-11-24 18:47:59 -06:00
.gitignore Fix double deferred resolution if process spawn fails 2017-12-05 08:33:14 +01:00
.php_cs Update fixer config / fix styles 2017-06-15 12:11:38 -05:00
.travis.yml Define target platform in composer.json and fix .travis.yml and appveyor.yml 2017-12-02 21:16:03 -06:00
appveyor.yml Use 7.2 on appveyor 2017-12-05 08:20:17 -06:00
composer.json Drop promises entirely 2018-07-18 22:46:20 +02:00
LICENSE Remove note about non-existent CONTRIBUTORS.md 2018-04-09 21:06:35 +02:00
Makefile Add Makefile and update git files 2017-11-24 18:47:59 -06:00
phpunit.xml.dist Refactor for full Windows compatibility 2017-11-24 18:43:56 -06:00
README.md Update README 2018-03-08 13:56:16 +01:00

process

Build Status Code Coverage Release License

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.