An async process dispatcher for Amp.
Full Changelog: https://github.com/amphp/process/compare/v2.0.2...v2.0.3
Full Changelog: https://github.com/amphp/process/compare/v1.1.6...v1.1.7
Full Changelog: https://github.com/amphp/process/compare/v1.1.5...v1.1.6
posix_kill
crashing / killing other programs on null
by @gerardroche in https://github.com/amphp/process/pull/68
Full Changelog: https://github.com/amphp/process/compare/v1.1.4...v1.1.5
UnhandledFutureError
being thrown to event loop if reading the process exit code fails.Full Changelog: https://github.com/amphp/process/compare/v2.0.1...v2.0.2
Full Changelog: https://github.com/amphp/process/compare/v2.0.0...v2.0.1
Stable release compatible with AMPHP v3 and fibers! 🎉
As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType>
have been replaced with ResolutionType
.
Process::__construct()
is now private in favor of Process::start()
Process::start()
is now static instead of an instance methodProcess::start()
no longer returns the PID, use Process::getPid()
Process::kill()
no longer causes an exception to be thrown from Process::join()
Process::getEnv()
has been renamed to Process::getEnvironment()
Process
object is destructed, but the process streams (STDIN, STDOUT, STDERR) are still usedescapeArguments
to escapeArgument
StatusError
Process::getWorkingDirectory()
join()
inside kill()
to avoid suspensions in destructorsCancellation
parameter to Process::join()
ext-pcntl
, an optional dependency)Cancellation
parameter to Process::join()
.InvalidCallbackError