Expand description
The command executor executes a sub program for each run
Structs
- A
CommandExecutor
is a wrapper aroundstd::process::Command
to execute a target as a child process. Construct aCommandExecutor
by implementingCommandConfigurator
for a type of your choice and callingCommandConfigurator::into_executor
on it. Instead, you can useCommandExecutor::builder()
to construct aCommandExecutor
backed by aStdCommandConfigurator
. - The builder for a default
CommandExecutor
that should fit most use-cases. - A simple Configurator that takes the most common parameters Writes the input either to stdio or to a file Use
CommandExecutor::builder()
to use this configurator.
Enums
- How to deliver input to an external program
StdIn
: The target reads from stdinFile
: The target reads from the specifiedInputFile
Traits
- A
CommandConfigurator
takes care of creating and spawning astd::process::Command
for theCommandExecutor
.