-
Notifications
You must be signed in to change notification settings - Fork 350
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
Pipeline output is not displayed until a newline is reached #2743
Comments
From what I can tell, this is caused by this code ( devspace/pkg/devspace/pipeline/job.go Lines 101 to 107 in 69e7df3
Not sure what the right fix is, as it seems like |
@jackwilsdon Thanks for the analysis! We will take a look at a fix. I had previously assumed that this was an issue with the library we were using for the shell emulation, but you're probably right in that it's the scanner using the |
@jackwilsdon While not a solution for this particular problem, I've found that |
What happened?
Text printed from a pipeline is not output to the terminal until a newline is reached.
What did you expect to happen instead?
Text should be printed without needing a newline.
How can we reproduce the bug? (as minimally and precisely as possible)
devspace.yaml
:devspace run-pipeline test
Local Environment:
Anything else we need to know?
This is a bigger issue when using
read -p "Some prompt here: "
, as the prompt doesn't appear until the user has hit enter (completing theread
).The text was updated successfully, but these errors were encountered: