Skip to content

Releases: amphp/process

2.0.0 Beta 4

07 Jul 03:44
v2.0.0-beta.4
432c72e
Compare
Choose a tag to compare
2.0.0 Beta 4 Pre-release
Pre-release
  • 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)

1.1.4

07 Jul 03:42
v1.1.4
76e9495
Compare
Choose a tag to compare
  • Fixed ended processes sometimes leaving zombie processes on *nix systems (requires ext-pcntl, an optional dependency)

2.0.0 Beta 3

03 Feb 20:11
v2.0.0-beta.3
Compare
Choose a tag to compare
2.0.0 Beta 3 Pre-release
Pre-release

What's Changed

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

Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3

2.0.0 Beta 2

17 Dec 23:00
v2.0.0-beta.2
Compare
Choose a tag to compare
2.0.0 Beta 2 Pre-release
Pre-release
  • 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

1.1.3

17 Dec 22:34
v1.1.3
Compare
Choose a tag to compare
  • 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

2.0.0 Beta 1

14 Dec 00:27
v2.0.0-beta.1
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release
  • 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

1.1.2

08 Oct 15:57
3d36327
Compare
Choose a tag to compare
  • Added a work-around for a bug with preloading and conditionally declared functions (#53)

1.1.1

30 Mar 20:14
v1.1.1
Compare
Choose a tag to compare
  • Fixed socket TypeError on PHP 8
  • Use taskkill on windows for Process::kill()

1.1.0

04 Mar 16:00
355b1e5
Compare
Choose a tag to compare
  • 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)

1.0.3

15 Jan 21:55
e7e2821
Compare
Choose a tag to compare
  • Fixed killing unresponsive processes.