class Sass::Exec::Base

def process_result

so they can run their respective programs.
This is meant to be overridden by subclasses

sets `@options[:input]` and `@options[:output]` to appropriate IO streams.
Processes the options set by the command-line arguments. In particular,
def process_result
  input, output = @options[:input], @options[:output]
  args = @args.dup
  input ||=
    begin
      filename = args.shift
      @options[:filename] = filename
      open_file(filename) || $stdin
    end
  @options[:output_filename] = args.shift
  output ||= @options[:output_filename] || $stdout
  @options[:input], @options[:output] = input, output
end