[IPython-dev] ! with bash

Matthias BUSSONNIER bussonniermatthias@gmail....
Thu Sep 26 05:08:25 CDT 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. 
-- 
M




More information about the IPython-dev mailing list