code: def call_subprocess_Popen(command, **params):
      """
      Calls subprocess_Popen and discards the output, returning only the
      exit code.
      """
      if "stdout" in params or "stderr" in params:
          raise TypeError(
              "don't use stderr or stdout with call_subprocess_Popen"
          )
      with open(os.devnull, "wb") as null:
          # stdin to devnull is a workaround for a crash in a weird Windows
          # environment where sys.stdin was None
          params.setdefault("stdin", null)
          params["stdout"] = null
          params["stderr"] = null
          p = subprocess_Popen(command, **params)
          returncode = p.wait()
      return returncode
  
imports: import hashlib
  import logging
  import os
  import struct
  import subprocess
  import sys
  from collections import OrderedDict
  from collections.abc import Callable
  from functools import partial
label_desc: Use image node_id 7 for calling a global function with example usage: call_subprocess_Popen(command) and returns: returncode