[IPython-dev] ipython bash interaction?
Thomas Kluyver
takowl at gmail.com
Wed Sep 25 12:40:43 EDT 2013
Yes, commands are passed to a system shell. Check that $PATH is the same
there as it is in your normal shell.
Thomas
On 25 September 2013 08:44, Zoltán Vörös <zvoros at gmail.com> wrote:
> Hi all,
>
> I have a trivial question: how does the ipython console interact with
> bash (or the operating system, for that matter)? I can use system
> commands with e.g.,
>
> In [] : !date
> Wed Sep 25 17:42:33 CEST 2013
>
> but this fails:
>
> In [] : !myscript
> /bin/sh: 1: myscript: not found
>
> where myscript is a bash script in a directory that is in the path. From
> the system console, I can run myscript without any problems, no matter
> where I am. Is it not the case that everything after an ! is passed to
> the underlying system? Or is there something that has to be configured?
>
> Cheers,
> Zoltán
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130925/3d0517d1/attachment.html>
More information about the IPython-dev
mailing list