module Excon::Test::Plugin::Server::Exec

def start(app_str = app)

def start(app_str = app)
  line = ''
  open_process(app)
  until line =~ /\Aready\Z/
    line = error.gets
    fatal_time = elapsed_time > timeout
    if fatal_time
      msg = "executable #{app} has taken too long to start"
      raise msg
    end
  end
  true
end