code: def _op_watch_proc(op, proc, run, quiet, stop_after):
      if os.getenv("NO_RUN_OUTPUT") != "1":
          output_summary = _output_summary_for_run(run, op)
          return _proc_wait_with_run_output(
              proc, run, quiet, output_summary, stop_after
          )
      return _proc_wait(proc, stop_after)
  
imports: import logging
  import os
  import subprocess
  import time
  from guild import config
  from guild import exit_code
  from guild import log
  from guild import op_dep
  from guild import op_util
  from guild import run
  from guild import util
label_desc: Use image node_id 20 for calling a global function with example usage: _op_watch_proc(op, proc, run, quiet, stop_after) and returns: _proc_wait, _proc_wait_with_run_output