Skip to content

v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Oct 13:55

Adds drain_on_exit: true on Unix. With it enabled, on_exit waits until the PTY reader has delivered all output and closed. The default remains false.

There is no timeout: a descendant holding the PTY open can delay on_exit indefinitely. Windows rejects enabling the option.

Based on @ctram's work in #31, with documentation and a regression test for descendants holding the PTY open in #33.

Full changelog