diff --git a/tests/processhelp.pm b/tests/processhelp.pm index 283188c1a2..e601399bbc 100644 --- a/tests/processhelp.pm +++ b/tests/processhelp.pm @@ -168,7 +168,7 @@ sub pidterm { $pid -= 4194304; if($^O ne 'MSWin32') { # https://ss64.com/nt/taskkill.html - my $cmd = "taskkill -t -pid $pid >nul 2>&1"; + my $cmd = "taskkill -f -t -pid $pid >nul 2>&1"; print "Executing: '$cmd'\n"; system($cmd); return;