Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbuffered output #529

Open
dawe opened this issue Jan 17, 2024 · 1 comment
Open

Unbuffered output #529

dawe opened this issue Jan 17, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@dawe
Copy link

dawe commented Jan 17, 2024

I'm running some codon generated executables in batch mode and I realized it sends to stdout just as Python (kind of expected), that is a buffered output. I know in Python I can run a script using the -u switch to have unbuffered stdout, is there something similar for codon?

@inumanag inumanag added the enhancement New feature or request label Jan 29, 2024
@inumanag
Copy link
Contributor

Not yet—we can add this in the later versions (wasn't even aware of -u until now). For now, you'll have to flush the stdout manually (stdout.flush() should work) or use stderr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants