Skip to content

children

Return the live direct children of an owner handle. Available as children after import_globals() or mv.process.children.

Parameters

  • parent — A process handle.
for _, child in ipairs(children(self)) do
print(child.id)
end

Related: descendants, find.

See the lua processes guide for more examples and limits.