as_fd
andas_raw_fd
forPts
instances
kill_on_drop
to match the tokio::process::Command behavior. (Samuel Ainsworth, #11)from_fd
to unsafely create a Pty from an OwnedFd. (YtvwlD, #12)
- Changed the
Command
builder 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.
- macos should be better supported now.
- Spawning a process without an existing controlling terminal should now work. (Chris Pick, #16)
- Switch from nix to rustix, for hopefully better portability
- Implemented AsRawFd for the Pty structs
- Complete rewrite of the API
- Tokio is now the only supported backend, enabled via the
async
feature
- Simplified the
Error
type to remove a bunch of unnecessary distinctions
- Bumped deps and moved to 2021 edition
- Initial release