Skip to content

Conversation

@danpalmer
Copy link
Contributor

@danpalmer danpalmer commented Mar 3, 2025

Fixes #213

This doesn't fully solve it, in that stderr is still persisted for the duration of the subprocess and then decoded as UTF-8 for the return value, but I think that's a much smaller problem in general as stderr is often used for smaller error messages as this was designed to read. I'm happy to push that one off for another day.

@danpalmer danpalmer marked this pull request as draft March 3, 2025 18:22
@danpalmer danpalmer changed the title Fix debug logging for large/binary output [fix] Fix debug logging for large/binary output Mar 3, 2025
@danpalmer danpalmer changed the title [fix] Fix debug logging for large/binary output fix: Fix debug logging for large/binary output Mar 3, 2025
@danpalmer danpalmer changed the title fix: Fix debug logging for large/binary output fix: debug logging for large/binary output Mar 3, 2025
@danpalmer
Copy link
Contributor Author

Build already failing on Windows, but working on macOS/Ubuntu. Will leave that for a separate change as I'm not familiar with Swift on Windows.

@danpalmer danpalmer marked this pull request as ready for review March 3, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logging breaks with binary output or between multi-byte UTF-8 characters

1 participant