run method

dynamic run({
  1. dynamic reset = true,
})

Implementation

run({final reset = true}) {
  try {
    debugPrint(
        "Running shell for ${title()} - status: ${status()} - live: ${external()}");
    _setup(live: !external(), reset: reset);
    _liveConfig(!external());
    _runShell(!external());
  } catch(ex){
    if(ShellStatus.running == status()) {
      status(ShellStatus.failed);
    }
    refresh();
  }
}