code: def _op_proc_env(op, run):
      """Returns the proc env for op and associated run.
  
      Proc env is made up of system env, op env, and run env. System env
      is passed through unless otherwise defined by op env or run
      env. Run env takes precedence when it conflicts with op end.
      """
      env = {}
      env.update(_op_proc_system_env())
      env.update(_op_proc_op_env(op))
      env.update(_op_proc_run_env(run))
      return env
  
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 27 for calling a global function with example usage: _op_proc_env(op, run) and returns: env