Method: Aggkit::ChildProcess::Windows::Lib.waitpid2

Defined in:
lib/aggkit/childprocess/windows/lib.rb

.waitpid2(pid, flags = 0) ⇒ Object



261
262
263
264
265
# File 'lib/aggkit/childprocess/windows/lib.rb', line 261

def waitpid2(pid, flags = 0)
  code = wait_for_pid(pid, no_hang?(flags))

  [pid, code] if code
end