term-sys-io 0.9.24-alpha

Low-level cross-platform OS I/O primitives (FD/handle redirection) for term-wm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Low-level cross-platform OS I/O primitives for term-wm.
//!
//! This leaf crate is the **single** home for all unsafe process-global
//! FD/handle manipulation in the workspace: stderr suppression and
//! pipe-based FD redirection.  It sits at the bottom of the dependency graph
//! (`libc` + `tracing` only) so `term-clipboard`, `term-wm-pty-engine`,
//! `term-session-client`, and the root package can all depend downward on it
//! without cycles.

pub mod redirect_stdio;
pub mod stderr_suppress;

pub use redirect_stdio::{redirect_fd, redirect_fd_to_tracing};
pub use stderr_suppress::StderrSuppressGuard;