execAnConfirmExit method
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;
}