Remove `closeAllFdsExcept()` from the `Process` class and have it as a local function since it is not needed "outside" and does not depend on any part of the `Process` class. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>