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