code: def _command_to_string(command):
      if isinstance(command, list):
          return " ".join(command)
      else:
          return command
  
file_path: streamlit/scripts/run_bare_integration_tests.py
imports: import os
  import subprocess
  import sys
  from multiprocessing import Lock
  from multiprocessing.pool import ThreadPool
  from typing import Set
  import click
label_desc: Use image node_id 1 for calling a global function with example usage: _command_to_string(command) and returns: str, command