ShellInterpreter implementation