[IPython-user] pysh "&"

Ville M. Vainio vivainio at gmail.com
Thu Oct 12 12:46:49 CDT 2006


I made a half-baked "jobctrl" extension by pretty much directly using
subprocess.Popen class:

[ipython]|2> import jobctrl
[ipython]|3> &ls
         <3> <jobctrl.IpyPopen object at 0x00D87FD0>
[ipython]|4> _3.go
-----------> _3.go()
ChangeLog
IPython
MANIFEST.in
README
README_Windows.txt
debian
doc
eggsetup.py
ipython.py
scripts
setup.py
setup_bdist_egg.py
setupext
src
test
tools
win32_manual_post_install.py
[ipython]|5> _3.
_3.__class__           _3.__module__          _3._child_created
_3._translate_newlines _3.stdin
_3.__del__             _3.__new__             _3._communicate
_3.communicate         _3.stdout
_3.__delattr__         _3.__reduce__          _3._execute_child
_3.go                  _3.universal_newlines
_3.__dict__            _3.__reduce_ex__       _3._find_w9xpopen
_3.line                _3.wait
_3.__doc__             _3.__repr__            _3._get_handles        _3.pid
_3.__getattribute__    _3.__setattr__         _3._handle             _3.poll
_3.__hash__            _3.__str__             _3._make_inheritable
_3.returncode
_3.__init__            _3.__weakref__         _3._readerthread       _3.stderr
[ipython]|5> _3.

It needs more work, but it's a start. The api and implementation are
guaranteed to be unstable :-)

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-user mailing list