code: def getoutputerror(cmd):
      """Return (standard output, standard error) of executing cmd in a shell.
  
      Accepts the same arguments as os.system().
  
      Parameters
      ----------
      cmd : str or list
        A command to be executed in the system shell.
  
      Returns
      -------
      stdout : str
      stderr : str
      """
      return get_output_error_code(cmd)[:2]
  
file_path: catboost/contrib/python/ipython/py2/IPython/utils/_process_common.py
imports: import subprocess
  import shlex
  import sys
  import os
  from IPython.utils import py3compat
label_desc: Use image node_id 4 for calling a global function with example usage: getoutputerror(cmd) and returns: get_output_error_code