pwtools.common.system

pwtools.common.system(call, wait=True)[source]

Fire up shell commamd line call.

Shorthand for subprocess.run(call, shell=True, check=True).

Parameters:
  • call (str (example: 'ls -l'))

  • wait (bool) – Kept for backward compat. Not used. Only True supported.