An async process dispatcher for Amp.
Clone or download
trowski Remove getting wrapper STDERR contents
Windows was hanging on this call. I don't think the pipe needs to be emptied before closing on Windows, but we can revisit this in the future if needed.
Latest commit 90f3f31 Nov 9, 2018


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.


This package can be installed as a Composer dependency.

composer require amphp/process


  • PHP 7.0+


amphp/process follows the semver semantic versioning specification like all other amphp packages.


If you discover any security related issues, please email instead of using the issue tracker.


The MIT License (MIT). Please see LICENSE for more information.