<div dir="ltr"><div>Yes, commands are passed to a system shell. Check that $PATH is the same there as it is in your normal shell.<br><br></div>Thomas<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 September 2013 08:44, Zoltán Vörös <span dir="ltr"><<a href="mailto:zvoros@gmail.com" target="_blank">zvoros@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I have a trivial question: how does the ipython console interact with<br>
bash (or the operating system, for that matter)? I can use system<br>
commands with e.g.,<br>
<br>
In [] : !date<br>
Wed Sep 25 17:42:33 CEST 2013<br>
<br>
but this fails:<br>
<br>
In [] : !myscript<br>
/bin/sh: 1: myscript: not found<br>
<br>
where myscript is a bash script in a directory that is in the path. From<br>
the system console, I can run myscript without any problems, no matter<br>
where I am. Is it not the case that everything after an ! is passed to<br>
the underlying system? Or is there something that has to be configured?<br>
<br>
Cheers,<br>
Zoltán<br>
<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div><br></div>