Skip to content

0.3.1 Non-blocking `proc_close()`, immediate cancellation, --term-timeout

Choose a tag to compare

@vudaltsov vudaltsov released this 31 Mar 12:17
· 2 commits to 0.3.x since this release

Added

  • --term-timeout CLI option (default: 10s) — time to wait for the process to exit after SIGTERM before sending SIGKILL

Fixed

  • proc_close() no longer blocks when the process is slow to respond to SIGTERM; it is now called only after SIGCHLD confirms the process has exited
  • SIGKILL is sent automatically after $terminationTimeout seconds if the process does not exit on SIGTERM