# File lib/childprocess/windows/api.rb, line 25 def waitpid2(pid, flags = 0) code = wait_for_pid(pid, no_hang?(flags)) [pid, code] if code end