1
0
mirror of https://github.com/danog/process.git synced 2024-11-26 20:24:43 +01:00
Go to file
Niklas Keller 083d5a8ed5 Don't throw if process already terminated
This seems to be a race condition where the close pipe handler hasn't been called, but thee process already died.
2018-07-11 23:23:25 +02:00
bin/windows Refactor for full Windows compatibility 2017-11-24 18:43:56 -06:00
examples Fix typo 2017-12-05 09:19:44 +01:00
lib Don't throw if process already terminated 2018-07-11 23:23:25 +02:00
test Base implementation on ext-task 2018-07-11 20:50:54 +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 Base implementation on ext-task 2018-07-11 20:50:54 +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.