[IPython-user] Launching background processes

Amr Mostafa amr.mostafa at gmail.com
Wed Nov 22 12:23:03 CST 2006


Hello,

I've set /usr/bin/ipython as my shell in /etc/passwd. So it doesn't
run from inside bash or so.
When I exit ipython, all background processes launched either using
jobs.new(os.system, 'cmd') or popen2(['cmd']) get killed as well.

This is ipython in my ps auxf with cmd launched using popen2:

/usr/bin/gdm
  \_ /usr/bin/gdm
       \_ /usr/X11R6/bin/X :0 -audit 0 -auth /var/lib/gdm/:
            \_ openbox
                 \_ /usr/bin/ssh-agent  openbox
                 \_ x-terminal-emulator
                      \_ /usr/bin/python2.3 /usr/bin/ipython
                           \_ /bin/cmd

Cheers,
- Amr


More information about the IPython-user mailing list