mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
mingw autosetup changed
git-svn-id: svn://ultimatepp.org/upp/trunk@9631 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5b2dc3973d
commit
ea151987ec
2 changed files with 4 additions and 3 deletions
|
|
@ -426,7 +426,7 @@ bool LocalProcess::IsRunning() {
|
|||
return false;
|
||||
}
|
||||
int status = 0, wp;
|
||||
if(!( (wp = waitpid(pid, &status, WNOHANG | WUNTRACED)) == pid &&
|
||||
if(!( (wp = waitpid(pid, &status, WNOHANG | WUNTRACED)) == pid &&
|
||||
DecodeExitCode(status) ))
|
||||
return true;
|
||||
LLOG("IsRunning() -> no, just exited, exit code = " << exit_code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue