# File lib/puma/control_cli.rb, line 204
    def run
      if @options[:command] == "start"
        require 'puma/cli'

        run_args = @argv
        if path = @options[:status_path]
          run_args = ["-S", path] + run_args
        end

        events = Puma::Events.new @stdout, @stderr

        cli = Puma::CLI.new run_args, events
        cli.run
        return
      end

      prepare_configuration
    
      if is_windows?
        send_request
      else
        @options.has_key?(:control_url) ? send_request : send_signal
      end

    rescue => e
      message e.message
      exit 1
    end