@Override
          public void onCommandResult(int commandCode, int exitCode, List<String> output) {
            if ((exitCode == ShellExitCode.SUCCESS) &&
                !Shell.parseAvailableResult(output, Shell.SU.isSU(shell))) {
              // shell is up, but it's brain-damaged
              exitCode = ShellExitCode.SHELL_EXEC_FAILED;
            }
            watchdogTimeout = builder.watchdogTimeout;
            onCommandResultListener.onCommandResult(0, exitCode, output);
          }
The only way to create an instance: Shell.Builder::open()

@param builder
    Builder class to take values from
imitate/src/main/java/com/engineer/imitate/shell/Shell.java