Return identifier (PID) of process or `None` if it has yet to start
(self)
| 233 | |
| 234 | @property |
| 235 | def ident(self): |
| 236 | ''' |
| 237 | Return identifier (PID) of process or `None` if it has yet to start |
| 238 | ''' |
| 239 | self._check_closed() |
| 240 | if self is _current_process: |
| 241 | return os.getpid() |
| 242 | else: |
| 243 | return self._popen and self._popen.pid |
| 244 | |
| 245 | pid = ident |
| 246 |
nothing calls this directly
no test coverage detected