Function subplotlib::steplibrary::runcmd::try_to_run::call
source · [−]pub fn call(
___context___: &ScenarioContext,
argv0: &str,
args: &str
) -> StepResult
Expand description
Call this step function from another.
If you want to call this step function from another, you will need to do something like this:
ⓘ
#[step]
#[context("Datadir")]
#[context("Runcmd")]
fn defer_to_try_to_run(context: &ScenarioContext) {
//...
try_to_run::call(context, argv0, args)?;
// ...
}