Sha256: 2200394379e0bbfcdf1309c16c23cad1dba1c8fd74528d0f058aa64513d43127

Contents?: true

Size: 521 Bytes

Versions: 38

Compression:

Stored size: 521 Bytes

Contents

module Excon
  module Test
    module Plugin
      module Server
        module Exec
          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
        end
      end
    end
  end
end

Version data entries

38 entries across 36 versions & 4 rubygems

Version Path
excon-0.65.0 lib/excon/test/plugin/server/exec.rb
excon-0.64.0 lib/excon/test/plugin/server/exec.rb
excon-0.63.0 lib/excon/test/plugin/server/exec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/excon-0.62.0/lib/excon/test/plugin/server/exec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/excon-0.62.0/lib/excon/test/plugin/server/exec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/excon-0.62.0/lib/excon/test/plugin/server/exec.rb
excon-0.62.0 lib/excon/test/plugin/server/exec.rb
excon-0.61.0 lib/excon/test/plugin/server/exec.rb
excon-0.60.0 lib/excon/test/plugin/server/exec.rb
excon-0.59.0 lib/excon/test/plugin/server/exec.rb
excon-0.58.0 lib/excon/test/plugin/server/exec.rb
excon-0.57.1 lib/excon/test/plugin/server/exec.rb
excon-0.57.0 lib/excon/test/plugin/server/exec.rb
excon-0.56.0 lib/excon/test/plugin/server/exec.rb
excon-0.55.0 lib/excon/test/plugin/server/exec.rb
excon-0.54.0 lib/excon/test/plugin/server/exec.rb
excon-0.53.0 lib/excon/test/plugin/server/exec.rb
excon-0.52.0 lib/excon/test/plugin/server/exec.rb