(self)
| 1041 | return ppid |
| 1042 | |
| 1043 | def _get_windows_ppid(self): |
| 1044 | this_pid = os.getpid() |
| 1045 | for ppid, pid in _list_ppid_and_pid(): |
| 1046 | if pid == this_pid: |
| 1047 | return ppid |
| 1048 | |
| 1049 | return None |
| 1050 | |
| 1051 | def _terminate_child_processes_windows(self, dont_terminate_child_pids): |
| 1052 | this_pid = os.getpid() |