    # File lib/ramaze/bin/restart.rb, line 69
          def run(argv = [])
            @options.parse!(argv)

            @rackup = argv.delete_at(0)
            @rackup = File.join(Dir.pwd, 'config.ru') if @rackup.nil?

            if File.directory?(@rackup)
              @rackup = File.join(@rackup, 'config.ru')
            end

            if !File.exist?(@rackup)
              abort "The Rackup file #{@rackup} does not exist"
            end

            stop   = Ramaze::Bin::Runner::Commands[:stop].new
            start  = Ramaze::Bin::Runner::Commands[:start].new
            params = [@rackup]

            unless @pid.nil?
              params.push("-P #{@pid}")
            end

            stop.run([@pid])
            start.run(params)
          end