Skip to main content

apply_command_spec

Function apply_command_spec 

Source
pub fn apply_command_spec(command: &mut Command, spec: &CommandSpec)
Expand description

Applies a CommandSpec to a tokio::process::Command without spawning it.

This configures the argument list, working directory (if set), and environment overrides so that callers can pipe stdio or set up transports before launching the process.