Skip to main content

Module command

Module command 

Source

Re-exportsยง

use std::ffi::OsStr; ๐Ÿ”’
use std::io::Write; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::process::Command as StdCommand; ๐Ÿ”’
use std::process::ExitStatus; ๐Ÿ”’
use std::process::Output; ๐Ÿ”’
use std::process::Stdio; ๐Ÿ”’
use std::ffi; ๐Ÿ”’
use std::panic; ๐Ÿ”’
use std::panic; ๐Ÿ”’
use build_helper::drop_bomb::DropBomb; ๐Ÿ”’
use crate::util::handle_failed_output; ๐Ÿ”’
use crate::util::verbose_print_command; ๐Ÿ”’
use crate::assert_contains; ๐Ÿ”’
use crate::assert_contains_regex; ๐Ÿ”’
use crate::assert_equals; ๐Ÿ”’
use crate::assert_not_contains; ๐Ÿ”’
use crate::assert_not_contains_regex; ๐Ÿ”’

Structsยง

Command
This is a custom command wrapper that simplifies working with commands and makes it easier to ensure that we check the exit status of executed processes.
CompletedProcess
Represents the result of an executed process. The various assert_ helper methods should preferably be used for checking the contents of stdout/stderr.