Skip to main content

command_std

Function command_std 

Source
pub fn command_std(program: impl AsRef<OsStr>) -> Command
Expand description

A std::process::Command for program that already has the no-window flag set on Windows, returned by value so it chains: command_std("git").args(["status"]).output(). Same effect as Command::new(program) followed by NoWindow::no_window. The async variant is tokio_support::command (feature tokio).