On Tue Feb 4 17:02:04 2025 +0000, eric pouech wrote:
we could perhaps test that the cloning of the handle actually took place your test just shows that the parsing succeeds but nothing is actually written to 2 something like would do `dir /Z > foo 2<&1` `findstr . foo > NUL & if errorlevel 1 (echo not redirected) else echo redirected`
Thank you, I've updated the test to check whether redirection to stderr happens.