code: def _execute(cmd, **kwargs):
      print("{}> {}".format(os.getcwd(), " ".join(cmd)))
      if kwargs:
          assert 0 == sp.check_call(cmd, **kwargs)
      else:
          assert 0 == sp.check_call(cmd, stdout=open(os.devnull, "wb"))
  
imports: from __future__ import print_function
  import argparse
  import os
  import re
  import shutil
  import subprocess
  import sys
  import tempfile
label_desc: Use image node_id 1 for calling a global function with example usage: _execute(cmd) without return types