You are viewing an older version (9.3.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.3.0 / IPython / utils / _process_common / getoutputerror

function

IPython.utils._process_common:getoutputerror

source: /IPython/utils/_process_common.py :143

Signature

def   getoutputerror ( cmd )

Summary

Return (standard output, standard error) of executing cmd in a shell.

Extended Summary

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

Aliases

  • IPython.utils._process_common.getoutputerror