bundles / IPython 9.11.0 / IPython / utils / _process_common / get_output_error_code
function
IPython.utils._process_common:get_output_error_code
Signature
def get_output_error_code ( cmd : str | list[str] ) → tuple[str, str, int | None] 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 listA command to be executed in the system shell.
Returns
stdout: strstderr: str: returncode: int
Aliases
-
IPython.core.interactiveshell.get_output_error_code