vendor/bundle/ruby/1.8/gems/grit-2.4.1/lib/grit/jruby.rb
# Use JRuby's built in IO.popen4 but emulate the special spawn env
# and options arguments as best we can.
Use JRuby's built in IO.popen4 but emulate the special spawn env
and options arguments as best we can.
Use JRuby ' s built in IO . popen4 but emulate the special spawn env and options arguments as best we can .
def waitpid(pid)
      ::Process::waitpid(pid)
      $?
    rescue Errno::ECHILD
      FakeStatus.new(pid, 0, true, true)
    end
def waitpid ( pid ) :: Process :: waitpid ( pid ) $? rescue Errno :: ECHILD FakeStatus . new ( pid , 0 , true , true ) end
Use JRuby's built in IO.popen4 but emulate the special spawn env
and options arguments as best we can.
Use JRuby ' s built in IO . popen4 but emulate the special spawn env and options arguments as best we can .
pid