SubProcess _make_inheritable

Gabriel Genellina gagsl-py at yahoo.com.ar
Thu Jan 11 05:24:03 CET 2007


At Wednesday 10/1/2007 13:10, Roland Puntaier wrote:

>SubProcess.py needs to be patched - at least in 2.4 -  to work from
>windows GUIs:
>
>         def _make_inheritable(self, handle):
>             """Return a duplicate of handle, which is inheritable"""
>             if handle==None: handle=-1
>             return DuplicateHandle(GetCurrentProcess(), handle,
>                                    GetCurrentProcess(), 0, 1,
>                                    DUPLICATE_SAME_ACCESS)

You should submit it to the tracker, not post here and hope someone 
would notice...
http://sourceforge.net/tracker/?group_id=5470

Anyway, I don't see in which case would handle be None.


-- 
Gabriel Genellina
Softlab SRL 


	

	
		
__________________________________________________ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 




More information about the Python-list mailing list