##// END OF EJS Templates
use $SHELL in system_piped...
use $SHELL in system_piped we already use this in our call to subprocess.call in system_raw used in the terminal this makes kernel behavior better match terminal IPython For an example that used to be different: !wc -l <(pwd) with `SHELL=bash`

File last commit:

r20547:8f4e2b41
r25796:5b5ac949
Show More
list_subdirs.ipy
6 lines | 194 B | text/plain | TextLexer
# A simple IPython script that lists files in all subdirs
from IPython.display import FileLinks, display
dirs =!ls -d */
for d in dirs:
if d != '__pycache__/':
display(FileLinks(d))