

def sh(cmd):
    'Run system command in shell, raise SystemExit if it returns an error.'
    print('$', stat)
    stat = os.system(cmd)
    if stat:
        raise SystemExit(('Command %s failed with code: %s' % (cmd, stat)))

dataset/ETHPy150Open ipython/ipython-py3k/tools/toollib.py sh/VarMisuse@16/43 `cmd`->`stat`