ptyprocess 0.5.0

A library to work with PTY/TTY on Unix systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
use ptyprocess::PtyProcess;
use std::{io, process::Command};

#[test]
fn empty() {
    let err = PtyProcess::spawn(Command::new("")).unwrap_err();
    assert_eq!(
        io::ErrorKind::NotFound,
        io::Error::from_raw_os_error(err as i32).kind()
    );
}