{"id":67239,"library":"command-fds","title":"Command Fds","description":"A library for passing arbitrary file descriptors when spawning child processes.","status":"active","version":"0.3.3","language":"rust","source_language":null,"source_url":"https://github.com/google/command-fds","tags":["file-descriptor","process","spawn","unix"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncommand-fds = \"0.3.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add command-fds","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"CommandFdExt","correct":"use command_fds::CommandFdExt;"}],"quickstart":{"code":"use command_fds::CommandFdExt;\nuse std::process::Command;\n\nfn main() {\n    let mut cmd = Command::new(\"cat\");\n    cmd.fd(3, std::fs::File::open(\"/etc/passwd\").unwrap());\n    println!(\"Command configured with extra fd\");\n}","lang":"rust","description":"Pass an extra file descriptor to a child process."},"warnings":[],"env_vars":null,"search_vec":"'arbitrari':7 'child':12 'command':1 'descriptor':9,16 'fds':2 'file':8,15 'file-descriptor':14 'librari':4 'pass':6 'process':13,17 'spawn':11,18 'unix':19","created_at":"2026-06-17T17:34:38.706993+00:00","updated_at":"2026-06-17T17:34:38.706993+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/google/command-fds","github":"https://github.com/google/command-fds","docs":"https://docs.rs/command-fds/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}