code: def run(*args, **kw):
      stdout = kw.pop("stdout", None)
      stderr = kw.pop("stderr", None)
      args, cwd, env = _popen_args(*args, **kw)
      p = subprocess.Popen(
          args, cwd=cwd, env=env, stdout=stdout, stderr=stderr
      )
      out, err = p.communicate()
      if out is not None:
          out = out.decode()
      if err is not None:
          err = err.decode()
      if p.returncode != 0:
          raise RunError((args, cwd, env), p.returncode, (out, err))
      return out, err
  
imports: import os
  import subprocess
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: run() and returns: out,  err