* pinfo.cc (_pinfo::exists): Don't consider an execed process to exist.

This commit is contained in:
Christopher Faylor
2012-08-15 14:11:35 +00:00
parent 25a520c260
commit 0123506d2d
2 changed files with 5 additions and 1 deletions

View File

@@ -488,7 +488,7 @@ _pinfo::set_ctty (fhandler_termios *fh, int flags)
bool __stdcall
_pinfo::exists ()
{
return this && !(process_state & (PID_EXITED | PID_REAPED));
return this && !(process_state & (PID_EXITED | PID_REAPED | PID_EXECED));
}
bool