##// END OF EJS Templates
Fix bugs in x=!cmd; we can't use pexpect at all....
Fix bugs in x=!cmd; we can't use pexpect at all. pexpect makes the subprocesses format their output for a terminal, with a mix of spaces, tabs and newlines. This makes it virtually impossible to then capture their output and do anything useful with it. Fixed a few other small bugs and inconsistencies in process handling.

File last commit:

r2058:7e8fc59a
r3002:c3bafd12
Show More
pycolor
6 lines | 183 B | text/plain | TextLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Simple wrapper around PyColorize, which colorizes python sources."""
import IPython.utils.PyColorize
IPython.utils.PyColorize.main()