{ } Raw JSON

bundles / IPython 9.17.0 / IPython / utils / _process_posix / ProcessHandler / system

function

IPython.utils._process_posix:ProcessHandler.system

source: /dev/ipython/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