[IPython-dev] ! with bash

Matthias BUSSONNIER bussonniermatthias at gmail.com
Thu Sep 26 06:08:25 EDT 2013

Le 26 sept. 2013 à 11:02, Alistair Miles a écrit :

> Hi, apologies if this has been answered elsewhere but couldn't find an answer in the docs, is there any way to configure IPython such that commands prefixed by "!" are run by /bin/bash instead of default system shell (usually /bin/sh)? Thanks, Alistair.

`!` use os.system under the hood IIRC (through TerminalInteractiveShell.system_raw)
So I don't think there is any IPython specific way to change that. 

More information about the IPython-dev mailing list