Files
swift-mirror/utils
Saleem Abdulrasool dc4302e65d utils: avoid redirection and use pipes for output redirection
When the output is directly redirected, the output is re-encoded. This
is particularly important as `Write-PList` uses `Invoke-Program` to
invoke `python.exe` to write the plist. However, because it is writing
to a file, while the output from Python is in UTF-8, the redirection
re-encodes the output to UTF16LE (BOM). Adjust the invocation to use
PS7+ `2|` and pipe both stdout and stderr as appropriate into files with
UTF-8 encoding restoring the encoding for the file.
2025-07-07 15:44:37 -04:00
..
2022-09-15 19:43:37 -04:00
2024-01-12 12:25:25 -08:00
2024-04-10 09:38:02 -07:00
2024-11-05 22:42:10 +00:00
2022-03-28 12:29:39 -07:00
2023-04-04 12:01:50 -07:00
2023-07-25 15:24:54 -07:00
2022-09-15 19:43:36 -04:00