- Fixed file open operations on Windows for bash command output: The bash command runner now opens its output log file using the portable string flag
"w"(write) on Windows, instead of the bitwise POSIX flagsO_WRONLY | O_CREAT | O_TRUNC, which may not behave correctly on Windows. Non-Windows platforms continue to use the POSIX flags withO_NOFOLLOWfor symlink safety. (search forprocess.platform === "win32"inpj1at line ~269290)
- Fixed file open operations on Windows for task output appending: The task output writer class now opens files using the portable string flag
"a"(append) on Windows, instead of the bitwise POSIX flagsO_WRONLY | O_APPEND | O_CREAT. Previously, there was no Windows-specific handling in this code path. (search forprocess.platform === "win32"in classz31at line ~130992)
- Fixed file open operations on Windows for task output creation: The task output file creation function now uses the portable string flag
"wx"(exclusive write) on Windows, instead of the bitwise POSIX flagsO_WRONLY | O_CREAT | O_EXCL. This ensures exclusive-create semantics work correctly on Windows. (search forprocess.platform === "win32"inbq8at line ~131075)