Trait rustwide::cmd::Runnable [−][src]
Trait representing a command that can be run by Command
.
Required methods
Loading content...Provided methods
fn prepare_command<'w, 'pl>(&self, cmd: Command<'w, 'pl>) -> Command<'w, 'pl>
[src]
Prepare the command for execution. This method is called as soon as a
Command
instance is created, and allows tweaking the command to
better suit your binary, for example by adding default arguments or environment variables.
The default implementation simply returns the provided command without changing anything in it.