code: def call(command, *, quiet, **kwargs):
      """Execute a command.
  
      If 'quiet' is true, then redirect stdout and stderr to a temporary file.
      """
      print("❯", " ".join(map(str, command)))
      if not quiet:
          stdout = None
          stderr = None
      else:
          stdout = tempfile.NamedTemporaryFile(
              "w",
              encoding="utf-8",
              delete=False,
              prefix="cpython-wasi-",
              suffix=".log",
          )
          stderr = subprocess.STDOUT
          print(f"📝 Logging output to {stdout.name} (--quiet)...")
  
      subprocess.check_call(
          command, **kwargs, stdout=stdout, stderr=stderr
      )
  
imports: import argparse
  import contextlib
  import functools
  import os
  import pathlib
  import shutil
  import subprocess
  import sys
  import sysconfig
  import tempfile
label_desc: Use image node_id 3 for calling a global function with example usage: call(command) without return types