# File lib/rvm/shell/single_shot_wrapper.rb, line 15 def run_command(command) command = "true" if command.to_s.strip.empty? with_shell_instance do stdin.puts wrapped_command(command) stdin.close out, err = stdout.read, stderr.read out, status, _ = raw_stdout_to_parts(out) return status, out, err end end