##// END OF EJS Templates
use shlex.split on editor hooks on Windows...
use shlex.split on editor hooks on Windows pipes.quote uses single-quotes, which is wrong on Windows. But the grouping is still correct after shlex.split. An alternative would be to use a cmd list, and not do any quoting.

File last commit:

r16136:94a4d14e
r18836:e0a5359f
Show More
list_subdirs.ipy
5 lines | 162 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:
display(FileLinks(d))