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

Update script.py #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update script.py #1

wants to merge 2 commits into from

Conversation

r1ch
Copy link

@r1ch r1ch commented Jul 9, 2020

Flush stdout so that you get a message every .5 rather that a blob of messages every now and then

r1ch added 2 commits July 9, 2020 15:04
Flush stdout so that you get a message every .5 rather that a blob of messages every now and then
@r1ch
Copy link
Author

r1ch commented Jul 9, 2020

For me - the script doesn't start sending output as it's buffered - as long as you wait long enough the buffer returns some lines - you could also set pythonOptions: ["-u"] when you call the shell for the same effect

Also - thanks for this!

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.

1 participant