ExecWaitStrategy.shell constructor

ExecWaitStrategy.shell(
  1. String command, {
  2. int expectedExitCode = 0,
})

Creates an ExecWaitStrategy that runs a single shell command string.

Equivalent to ExecWaitStrategy([command]).

Implementation

factory ExecWaitStrategy.shell(String command, {int expectedExitCode = 0}) =>
    ExecWaitStrategy([command], expectedExitCode: expectedExitCode);