Amphp Process Versions Save

An async process dispatcher for Amp.

v2.0.0-beta.4

1 year ago
  • Removed check for ext-pcntl, which is not strictly required for this library.
  • Fixed ended processes sometimes leaving zombie processes on *nix systems (requires ext-pcntl)

v1.1.4

1 year ago
  • Fixed ended processes sometimes leaving zombie processes on *nix systems (requires ext-pcntl, an optional dependency)

v2.0.0-beta.3

2 years ago

What's Changed

  • Drop dependency on amphp/sync
  • Add compatibility with revolt/event-loop 0.2.x

Full Changelog: https://github.com/amphp/process/compare/v2.0.0-beta.2...v2.0.0-beta.3

v2.0.0-beta.2

2 years ago
  • Fixed and improved wrapper copy if running inside of PHARs on Windows
  • Removed nullability of Process::getWorkingDirectory()
  • Fixed compatibility with amphp/byte-stream v2.0.0-beta.2
  • Avoid calling join() inside kill() to avoid suspensions in destructors

v1.1.3

2 years ago
  • Fixed wrapper path if running inside PHARs on Windows
  • Improved wrapper copy behavior if running inside PHARs on Windows
  • Removed ProcessException being thrown if process killing fails on Windows, which has been subject to race conditions

v2.0.0-beta.1

2 years ago
  • Process::__construct() is now private in favor of Process::start()
  • Process::start() is now static instead of an instance method
  • Process::start() does no longer return the PID, use Process::getPid()
  • Process::kill() does no longer result in an exception of Process::join()
  • Process::getEnv() has been renamed to Process::getEnvironment()
  • Improved handling if process is destructed, but streams are still used
  • Renamed escapeArguments to escapeArgument
  • Removed custom stream implementations
  • Removed StatusError

v1.1.2

2 years ago
  • Added a work-around for a bug with preloading and conditionally declared functions (#53)

v1.1.1

3 years ago
  • Fixed socket TypeError on PHP 8
  • Use taskkill on windows for Process::kill()

v1.1.0

5 years ago
  • Added escapeArguments() function that escapes process arguments for each platform (i.e., Windows vs. Linux/Unix) (#35)
  • File descriptors inherited from the parent process are now closed automatically in the child process on Posix systems.
  • Updated bundled Windows process wrapper executable to v1.2 (#34)
  • Fixed Process::signal() sending signals to the wrapper child process instead of the intended child (#36)
  • Fixed Process::join() resolving before the child process exits due to termination signals being sent and handled or ignored by the child process (#36)

v1.0.3

5 years ago
  • Fixed killing unresponsive processes.