Return a duplicate of handle, which is inheritable
(self, handle)
| 1426 | |
| 1427 | |
| 1428 | def _make_inheritable(self, handle): |
| 1429 | """Return a duplicate of handle, which is inheritable""" |
| 1430 | h = _winapi.DuplicateHandle( |
| 1431 | _winapi.GetCurrentProcess(), handle, |
| 1432 | _winapi.GetCurrentProcess(), 0, 1, |
| 1433 | _winapi.DUPLICATE_SAME_ACCESS) |
| 1434 | return Handle(h) |
| 1435 | |
| 1436 | |
| 1437 | def _filter_handle_list(self, handle_list): |