Releases: amphp/process
Releases · amphp/process
1.1.9
What's Changed
- Fixed potential hang on Windows when a process crashes introduced in 1.1.8.
Full Changelog: v1.1.8...v1.1.9
1.1.8
What's Changed
- Fixed potential exception on Windows if a process crashes.
Full Changelog: v1.1.7...v1.1.8
2.0.3
1.1.7
1.1.6
What's Changed
- Make implicit nullable types explicit by @nicolas-grekas in #73
New Contributors
- @nicolas-grekas made their first contribution in #73
Full Changelog: v1.1.5...v1.1.6
1.1.5
What's Changed
- Fix
posix_kill
crashing / killing other programs onnull
by @gerardroche in #68
New Contributors
- @gerardroche made their first contribution in #68
Full Changelog: v1.1.4...v1.1.5
2.0.2
What's Changed
- Changed waiting for children during shutdown to be synchronous to ensure all children are properly cleaned up. This should avoid zombie processes left when running within an SAPI such as PHP-FPM.
- Fixed
UnhandledFutureError
being thrown to event loop if reading the process exit code fails.
Full Changelog: v2.0.1...v2.0.2
2.0.1
What's Changed
- Fixed error handling if the started process fails immediately.
Full Changelog: v2.0.0...v2.0.1
2.0.0
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 ofProcess::start()
Process::start()
is now static instead of an instance methodProcess::start()
no longer returns the PID, useProcess::getPid()
Process::kill()
no longer causes an exception to be thrown fromProcess::join()
Process::getEnv()
has been renamed toProcess::getEnvironment()
- Improved handling if the
Process
object is destructed, but the process streams (STDIN, STDOUT, STDERR) are still used - Renamed
escapeArguments
toescapeArgument
- Removed custom stream implementations
- Removed
StatusError
- Fixed and improved wrapper copy if running inside of PHARs on Windows
- Removed nullability of
Process::getWorkingDirectory()
- Avoid calling
join()
insidekill()
to avoid suspensions in destructors - Added an optional
Cancellation
parameter toProcess::join()
- Fixed ended processes sometimes leaving zombie processes on *nix systems (requires
ext-pcntl
, an optional dependency)
2.0.0 Beta 7
- Add compatibility with Revolt v1.x