Registry / utility / pty
library0.2.2rscratesunverified

Fork with new pseudo-terminal (PTY).

# Cargo.toml [dependencies] pty = "0.2.2"
INSTALL
IMPORT
SIG · PTY
P
pty
utilityrustv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fork
use pty::fork::fork;

Fork a new process with PTY

use pty::fork::fork; fn main() { match fork() { Ok(child) => println!("Forked with PTY"), Err(e) => eprintln!("Error: {}", e), } }
Debug
Known issues
gotchaUnix-only; no Windows support
fix
Use conditional compilation or alternative crate on Windows
affects: >=0.2.0
Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
pty — cargo add pty · libregistry