code: def _shell(*args, **kwargs):
      kwargs.setdefault("check", True)
      return subprocess.run(*args, **kwargs)
  
imports: import os
  import pathlib
  import subprocess
  import sys
  import tempfile
label_desc: Use image node_id 1 for calling a global function with example usage: _shell() and returns: subprocess