SubProcess _make_inheritable

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roland Puntaier

    #1

    SubProcess _make_inheritable

    SubProcess.py needs to be patched - at least in 2.4 - to work from
    windows GUIs:

    def _make_inheritab le(self, handle):
    """Return a duplicate of handle, which is inheritable"""
    if handle==None: handle=-1
    return DuplicateHandle (GetCurrentProc ess(), handle,
    GetCurrentProce ss(), 0, 1,
    DUPLICATE_SAME_ ACCESS)
Working...