Registry / utility / command-group

command-group

JSON →
library5.0.1rscratesunverified

Extension to std::process::Command to spawn processes in a process group.

# Cargo.toml [dependencies] command-group = "5.0.1"
INSTALL
IMPORT
SIG · COMMAND-GROUP
C
command-group
utilityrustv5.0.1
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.

CommandGroup
use command_group::CommandGroup;

Spawn a command in its own process group.

use command_group::CommandGroup; use std::process::Command; fn main() { let mut child = Command::new("sleep") .arg("10") .group_spawn() .expect("failed to spawn group"); child.wait().unwrap(); }
Debug
Known issues
gotchaOn Unix, process groups are created via setpgid; on Windows, job objects are used. Behavior differs across platforms.
fix
Test your usage on target platforms.
affects: >=5.0.0
Upgrade
Version history
5.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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