SubProcess _make_inheritable

Gabriel Genellina gagsl-py at
Thu Jan 11 05:24:03 CET 2007

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

> 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...

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! 

More information about the Python-list mailing list