code: def _proc_wait(proc, stop_after):
      if stop_after is None:
          return proc.wait()
      return _proc_wait_minutes(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 23 for calling a global function with example usage: _proc_wait(proc, stop_after) and returns: _proc_wait_minutes, proc