# File lib/riddle/controller.rb, line 29
    def start
      return if running?
      
      cmd = "#{searchd} --pidfile --config \"#{@path}\""
      
      if RUBY_PLATFORM =~ /mswin/
        system("start /B #{cmd} 1> NUL 2>&1")
      else
        `#{cmd}`
      end
      
      sleep(1)
      
      unless running?
        puts "Failed to start searchd daemon. Check #{@configuration.searchd.log}."
      end
    end