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

bundles / IPython 9.10.0 / IPython / utils / _process_common / get_output_error_code

function

IPython.utils._process_common:get_output_error_code

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

Signature

def   get_output_error_code ( cmd )

Summary

Return (standard output, standard error, return code) 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
: returncode: int

Aliases

  • IPython.utils._process_common.get_output_error_code