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

bundles / IPython 9.5.0 / IPython / utils / _process_posix / ProcessHandler / system

function

IPython.utils._process_posix:ProcessHandler.system

source: /IPython/utils/_process_posix.py :86

Signature

def   system ( self cmd : str )  →  int

Summary

Execute a command in a subshell.

Parameters

cmd : str

A command to be executed in the system shell.

Returns

int : child's exitstatus

Aliases

  • IPython.core.interactiveshell.system
  • IPython.utils._process_posix.ProcessHandler.system