Registry / utility / command-fds

command-fds

JSON →
library0.3.3rscratesunverified

A library for passing arbitrary file descriptors when spawning child processes.

# Cargo.toml [dependencies] command-fds = "0.3.3"
INSTALL
IMPORT
SIG · COMMAND-FDS
C
command-fds
utilityrustv0.3.3
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.

CommandFdExt
✓ use command_fds::CommandFdExt;

Pass an extra file descriptor to a child process.

use command_fds::CommandFdExt; use std::process::Command; fn main() { let mut cmd = Command::new("cat"); cmd.fd(3, std::fs::File::open("/etc/passwd").unwrap()); println!("Command configured with extra fd"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
command-fds — cargo add command-fds · libregistry