code: def _compute_final_exit_code(*codes):
      
      max_code = None
      for code in codes:
        if max_code is None or abs(max_code) < abs(code):
          max_code = code
      return max_code
docs: Returns the exit code with higher abs value in case of negative values.