pty-process
spawn commands attached to a pty
0.5.3
4.5M downloads/mo
#4733 most downloaded on crates.io
source
What this package is like to depend on
Last release 1 years ago
12 Jul 2025
Ships fairly regularly
a new release about every 7 months
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
9 releases · first in 2021
0 releases in the last 12 months
see the full history below
Release timeline
9 releases · Mar 2021 to Jul 2025
2022
2023
2024
2025
2026
Releases
latest 9-
0.5.312 Jul 2025Release notes
Open source →Changed
- optimize async pty reads by not pre-initializing the given buffer
-
0.5.207 Jul 2025 -
0.5.130 Jan 2025 -
0.5.030 Jan 2025Release notes
Open source →Added
kill_on_dropto match the tokio::process::Command behavior. (Samuel Ainsworth, #11)from_fdto unsafely create a Pty from an OwnedFd. (YtvwlD, #12)
Changed
- Changed the
Commandbuilder API slightly to be harder to misuse on platforms (such as macos) which require opening a pts before doing any operations on the pty, and which don't support spawning more than one process onto a pts.
Fixed
- macos should be better supported now.
- Spawning a process without an existing controlling terminal should now work. (Chris Pick, #16)
-
0.4.007 Aug 2023Release notes
Open source →Changed
- Switch from nix to rustix, for hopefully better portability
Added
- Implemented AsRawFd for the Pty structs
-
0.3.008 Mar 2023Release notes
Open source →Changed
- Complete rewrite of the API
- Tokio is now the only supported backend, enabled via the
asyncfeature
-
0.2.015 Dec 2021Release notes
Open source →Changed
- Simplified the
Errortype to remove a bunch of unnecessary distinctions
- Simplified the
-
0.1.110 Nov 2021 -
0.1.006 Mar 2021