Skip to content

Conversation

@MarSoft
Copy link

@MarSoft MarSoft commented Nov 10, 2025

What does this implement/fix? Explain your changes.

Without this fix, prompt printed to $::savedStdout is buffered when stdout is a pipe. The subsequent $| = 1 clause does not help because it happens only after we print.

Does this close any currently open issues?

No.

Any relevant logs, error output, etc?

Any other comments?

Where has this been tested?

Operating System: Linux (NixOS)

Platform:

Target Platform:

Toolchain Version:

SDK Version:

@L1ghtmann
Copy link
Member

Hey, thanks for this pr! Out of curiosity, what is your nic use case where you encounter this buffering issue?

@MarSoft
Copy link
Author

MarSoft commented Dec 2, 2025

I'm running it as a part of a build system workflow from a Python application.

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.

2 participants