code: def _exit_with_output(content, exit_code=0):
      
      (sys.stdout if exit_code == 0 else sys.stderr).write(content + os.linesep)
      sys.exit(exit_code)
docs: Exit the program with printing out messages.
  
      :param content: content to print out
      :param exit_code: Exit code