code: def call_dstack(command: str) -> str:
      return subprocess.check_output(shlex.split(command)).decode()
  
file_path: dstack/scripts/docs/gen_cli_reference.py
imports: import logging
  import os
  import re
  import shlex
  import subprocess
  from fnmatch import fnmatch
  from functools import cache
  import mkdocs_gen_files
  from mkdocs.structure.files import File
label_desc: Use image node_id 1 for calling a global function with example usage: call_dstack(command) and returns: subprocess