Method: ChildProcess::Windows::Lib.each_child_of

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

.each_child_of(pid, &blk) ⇒ Object

Raises:

  • (NotImplementedError)


292
293
294
295
296
297
298
299
300
301
302
# File 'lib/childprocess/windows/lib.rb', line 292

def each_child_of(pid, &blk)
  raise NotImplementedError

  # http://stackoverflow.com/questions/1173342/terminate-a-process-tree-c-for-windows?rq=1

  # for each process entry
  #  if pe.th32ParentProcessID == pid
  #    Handle.open(pe.pe.th32ProcessId, &blk)
  #  end
  #
end