code: def output_subprocess_Popen(command, **params):
      """
      Calls subprocess_Popen, returning the output, error and exit code
      in a tuple.
      """
      if "stdout" in params or "stderr" in params:
          raise TypeError(
              "don't use stderr or stdout with output_subprocess_Popen"
          )
      params["stdout"] = subprocess.PIPE
      params["stderr"] = subprocess.PIPE
      p = subprocess_Popen(command, **params)
      # we need to use communicate to make sure we don't deadlock around
      # the stdout/stderr pipe.
      out = p.communicate()
      return out + (p.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 8 for calling a global function with example usage: output_subprocess_Popen(command) and returns: unknown