[IPython-dev] subprocess and Python 2.6
Brian Granger
ellisonbg at gmail.com
Mon Jul 19 01:24:37 EDT 2010
Gael,
On Sun, Jul 18, 2010 at 10:20 PM, Gael Varoquaux
<gael.varoquaux at normalesup.org> wrote:
> On Sun, Jul 18, 2010 at 10:16:57PM -0700, Brian Granger wrote:
>> With Python 2.6, Popen objects have a kill and terminate method that
>> will work with Windows. This will make it much easier to transition
>> away from using Twisted for process management. BUT, this would mean
>> that Python 2.5 users are left in the dark. If we want to keep 2.5
>> support in 0.11, we will need to spend some time thinking about this
>> issue. Thoughts?
>
> Maybe this could come in handy:
> http://github.com/ipython/ipython/tree/master/IPython/frontend/process/
> in particular 'killable_process.py', and the file 'winprocess.py' it
> depends on.
I am definitely aware of this and it is this type of thing and if we
want to keep 2.5 support in 0.11, we will definitely use it to kill
processes. It would just be nice to be able to use Popen and be done
with it.
Cheers,
Brian
> Gaël
>
--
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com
More information about the IPython-dev
mailing list