Return a duplicate of handle, which is inheritable
(self, handle)
| 1480 | |
| 1481 | |
| 1482 | def _make_inheritable(self, handle): |
| 1483 | """Return a duplicate of handle, which is inheritable""" |
| 1484 | h = _winapi.DuplicateHandle( |
| 1485 | _winapi.GetCurrentProcess(), handle, |
| 1486 | _winapi.GetCurrentProcess(), 0, 1, |
| 1487 | _winapi.DUPLICATE_SAME_ACCESS) |
| 1488 | return Handle(h) |
| 1489 | |
| 1490 | |
| 1491 | def _filter_handle_list(self, handle_list): |