code: def _op_wait_for_proc(op, proc, run, quiet, stop_after):
      try:
          return _op_watch_proc(op, proc, run, quiet, stop_after)
      except KeyboardInterrupt:
          return _handle_proc_keyboard_interrupt(proc)
  
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 19 for calling a global function with example usage: _op_wait_for_proc(op, proc, run, quiet, stop_after) and returns: _op_watch_proc, _handle_proc_keyboard_interrupt