// Shell is directly executing a sub/command, we don't setup a console
// in this case, this avoids us reading from stdin un-necessarily.
session.put(NameScoping.MULTI_SCOPE_MODE_KEY, Boolean.toString(isMultiScopeMode()));
session.put(Session.PRINT_STACK_TRACES, "execution");
try {
session.execute(command);
} catch (Throwable t) {
ShellUtil.logException(session, t);
}
} else {