Wrap readProcess with an exception logger