code: def safe_call(*args, **kwargs):
      try:
          sp.check_output(args, stderr=sp.STDOUT, **kwargs)
      except sp.CalledProcessError as e:
          print(e.output.decode())
          raise e
  
file_path: hail/hail/python/hailtop/hailctl/dataproc/resources/init_notebook.py
imports: import json
  import os
  import subprocess
  import sys
  import errno
  from subprocess import check_output
label_desc: Use image node_id 1 for calling a global function with example usage: safe_call() without return types