list_os_marked_tests.py's stdout, when redirected on Windows, carries CRLF line endings (Python text-mode \n -> \r\n). The workflow's 'set -- ' word-split on the \r too, leaving it attached to every path — pytest then failed 'file or directory not found: tests/.../test_foo.py\r' on the first file. macOS passed because LF-only there. Strip \r via 'tr -d' before word-splitting (no-op on POSIX).