code: def _wrapcall(*args, **kargs):
      try:
          return (
              subprocess.check_output(*args, **kargs)
              .decode()
              .splitlines()
          )
      except subprocess.CalledProcessError:
          return []
  
file_path: pytest/testing/test_argcomplete.py
imports: import subprocess
  import sys
  from pathlib import Path
  import pytest
  from _pytest.monkeypatch import MonkeyPatch
label_desc: Use image node_id 2 for calling a global function with example usage: _wrapcall() and returns: subprocess, list