execAnConfirmExit method

Future<bool> execAnConfirmExit(
  1. String containerName,
  2. String command,
  3. List<String> args,
  4. int desiredExitCode,
)
inherited

Calls exec than waitExit.

Implementation

Future<bool> execAnConfirmExit(String containerName, String command,
    List<String> args, int desiredExitCode) async {
  var exitCode = await execAndWaitExit(containerName, command, args,
      desiredExitCode: desiredExitCode);
  return exitCode != null;
}