From 0c9610fc9d1d9bf8c17b8ea183ddc6480dfdd8eb Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 7 Mar 2005 16:17:12 +0000 Subject: [PATCH] Fixed bug #32210 (proc_get_status() sets "running" always to true). --- ext/standard/proc_open.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 42356af44f..b86d48217a 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -413,6 +413,8 @@ PHP_FUNCTION(proc_get_status) stopped = 1; stopsig = WSTOPSIG(wstatus); } + } else { + running = 0; } #endif -- 2.40.0