diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-04-10 21:25:55 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-04-11 23:46:00 +0200 |
commit | 2a93021750b4979f32dd445c3366453c33390ea0 (patch) | |
tree | 833f45eb1a25764fc9d1a84e584541ed89663e42 /tests/runtests.pl | |
parent | 3f60a9e995c851a1dff2439cb16407d86cde7754 (diff) |
tests: add Windows compatible pidwait like pidkill and pidterm
Related to #5188
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 36f39a7b7..6b1410e4d 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -441,7 +441,7 @@ sub checkdied { if((not defined $pid) || $pid <= 0) { return 0; } - my $rc = waitpid($pid, &WNOHANG); + my $rc = pidwait($pid, &WNOHANG); return ($rc == $pid)?1:0; } |