]> git.feebdaed.xyz Git - 0xmirror/curl.git/commit
processhelp.pm: log taskkill pid info, add debug envs, enable in CI
authorViktor Szakats <commit@vsz.me>
Sun, 9 Nov 2025 12:54:49 +0000 (13:54 +0100)
committerViktor Szakats <commit@vsz.me>
Mon, 10 Nov 2025 01:00:17 +0000 (02:00 +0100)
commit2701ac6a4d16a62130dad05be1c484903b8545c7
treed828abb51cefe829bd5edf4654847109de04cb31
parentc6f1b0ff49268817101ac1734f43074fcc8775b2
processhelp.pm: log taskkill pid info, add debug envs, enable in CI

To debug the Windows CI fails further. Acting on the suspicions that
`taskkill` may sometimes be applied to the wrong process.

- log task info, and task child info before calling `taskkill` on a PID.
  (on native Windows.)
  One of the calls needs PowerShell.

- add env `CURL_TEST_NO_TASKKILL` to disable using `taskkill`.

- add env `CURL_TEST_NO_TASKKILL_TREE` to use `taskkill` without
  `-t`, meaning to kill the process, but not child processes.

- GHA/windows: disable `taskkill` calls, to see what happens.
  I'll revert or tweak this in a future commit depending on results.

Ref: https://github.com/curl/curl/discussions/14854#discussioncomment-13062859
Ref: https://github.com/curl/curl/discussions/14854#discussioncomment-14913014

Closes #19421
.github/scripts/typos.toml
.github/workflows/windows.yml
tests/processhelp.pm