Sha256: bac53b700b9f2ed0e35ae44eaf6df6dc27d0e8fd5e01738d711295e2e0ff92e4
Contents?: true
Size: 646 Bytes
Versions: 45
Compression:
Stored size: 646 Bytes
Contents
module Excon module Test module Plugin module Server module Exec def start(app_str = app) open_process(app_str) process_stderr = "" line = '' until line =~ /\Aready\Z/ line = error.gets raise process_stderr if line.nil? process_stderr << line fatal_time = elapsed_time > timeout if fatal_time msg = "executable #{app_str} has taken too long to start" raise msg end end true end end end end end end
Version data entries
45 entries across 44 versions & 2 rubygems