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

Version Path
excon-0.99.0 lib/excon/test/plugin/server/exec.rb
excon-0.98.0 lib/excon/test/plugin/server/exec.rb
excon-0.97.2 lib/excon/test/plugin/server/exec.rb
excon-0.97.1 lib/excon/test/plugin/server/exec.rb
excon-0.97.0 lib/excon/test/plugin/server/exec.rb
excon-0.96.0 lib/excon/test/plugin/server/exec.rb
excon-0.95.0 lib/excon/test/plugin/server/exec.rb
excon-0.94.0 lib/excon/test/plugin/server/exec.rb
excon-0.93.1 lib/excon/test/plugin/server/exec.rb
excon-0.93.0 lib/excon/test/plugin/server/exec.rb
excon-0.92.5 lib/excon/test/plugin/server/exec.rb
excon-0.92.4 lib/excon/test/plugin/server/exec.rb
excon-0.92.3 lib/excon/test/plugin/server/exec.rb
excon-0.92.2 lib/excon/test/plugin/server/exec.rb
excon-0.92.1 lib/excon/test/plugin/server/exec.rb
excon-0.92.0 lib/excon/test/plugin/server/exec.rb
excon-0.91.0 lib/excon/test/plugin/server/exec.rb
excon-0.90.0 lib/excon/test/plugin/server/exec.rb
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/excon-0.89.0/lib/excon/test/plugin/server/exec.rb
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/excon-0.88.0/lib/excon/test/plugin/server/exec.rb