Skip to main content

Module run

Module run 

Source

Re-exportsยง

use std::env; ๐Ÿ”’
use std::env; ๐Ÿ”’
use std::ffi::OsStr; ๐Ÿ”’
use std::ffi::OsString; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use crate::command::Command; ๐Ÿ”’
use crate::command::CompletedProcess; ๐Ÿ”’
use crate::cwd; ๐Ÿ”’
use crate::env_var; ๐Ÿ”’

Functionsยง

cmd
Create a new custom Command. This should be preferred to creating std::process::Command directly.
run
Run a built binary and make sure it succeeds.
run_common ๐Ÿ”’
run_fail
Run a built binary and make sure it fails.
run_fail_with_args
Run a built binary with one or more argument(s) and make sure it fails.
run_with_args
Run a built binary with one or more argument(s) and make sure it succeeds.
split_maybe_args ๐Ÿ”’