Function subplotlib::steplibrary::runcmd::try_to_run_in::call
source · [−]pub fn call(
___context___: &ScenarioContext,
dirname: &str,
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_in(context: &ScenarioContext) {
//...
try_to_run_in::call(context, dirname, argv0, args)?;
// ...
}