pub trait CommandExt {
    fn workspace_spawn(&mut self, workspace: &Metadata) -> Result<()>;
    fn workspace_stdout_raw(&mut self, workspace: &Metadata) -> Result<Vec<u8>>;
    fn workspace_stdout(&mut self, workspace: &Metadata) -> Result<String>;
}
Expand description

Extension methods for std::process::Command.

Required Methods

Executes the command as a child process on the workspace root directory, waiting for it to finish and checking the exit status.

Executes the command as a child process on the workspace root directory, waiting for it to finish and collecting all of its standard output as a bytes vector.

Executes the command as a child process on the workspace root directory, waiting for it to finish and collecting all of its standard output as a string.

Implementations on Foreign Types

Implementors