Antwort: Re: SubProcess _make_inheritable
Roland Puntaier
Roland.Puntaier at br-automation.com
Thu Jan 11 03:34:40 EST 2007
Thanks for pointing me to the tracker.
I've seen there is already an entry for this:
[ 1603907 ] subprocess: error redirecting i/o from non-console process
Roland
Gabriel Genellina <gagsl-py at yahoo.com.ar> schrieb am 11.01.2007 05:24:03:
> 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