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
coingecko_client-0.1.2 vendor/bundle/ruby/2.7.0/gems/excon-0.75.0/lib/excon/test/plugin/server/exec.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/excon-0.78.1/lib/excon/test/plugin/server/exec.rb
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/excon-0.78.1/lib/excon/test/plugin/server/exec.rb
excon-0.78.1 lib/excon/test/plugin/server/exec.rb
excon-0.78.0 lib/excon/test/plugin/server/exec.rb
excon-0.76.0 lib/excon/test/plugin/server/exec.rb
coingecko_client-0.1.1 vendor/bundle/ruby/2.7.0/gems/excon-0.75.0/lib/excon/test/plugin/server/exec.rb
coingecko_client-0.1.0 vendor/bundle/ruby/2.7.0/gems/excon-0.75.0/lib/excon/test/plugin/server/exec.rb
excon-0.75.0 lib/excon/test/plugin/server/exec.rb
excon-0.74.0 lib/excon/test/plugin/server/exec.rb
excon-0.73.0 lib/excon/test/plugin/server/exec.rb
excon-0.72.0 lib/excon/test/plugin/server/exec.rb
excon-0.71.1 lib/excon/test/plugin/server/exec.rb
excon-0.71.0 lib/excon/test/plugin/server/exec.rb
excon-0.70.0 lib/excon/test/plugin/server/exec.rb
excon-0.69.1 lib/excon/test/plugin/server/exec.rb
excon-0.69.0 lib/excon/test/plugin/server/exec.rb
excon-0.68.0 lib/excon/test/plugin/server/exec.rb
excon-0.67.0 lib/excon/test/plugin/server/exec.rb
excon-0.66.0 lib/excon/test/plugin/server/exec.rb