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

Handle last line process output without new line end #84

Closed
wants to merge 1 commit into from

Conversation

kalekseev
Copy link
Contributor

Consider process like echo -n "text", it prints "text" without
new line at the end and exit. Current overmind's output writer read
from processes output pipe line by line and in this case
it won't process "text" before overmind exit.
Therefore we must ensure that lines passed to the output writer
are always end with new line char. Fixes #81

Consider process like `echo -n "text"`, it prints "text" without
new line at the end and exit. Current overmind's output writer read
from processes output pipe line by line and in this case
it won't process "text" before overmind exit.
Therefore we must ensure that lines passed to the output writer
are always end with new line char.
@kalekseev
Copy link
Contributor Author

well that fix have problems with long line outputs

@kalekseev kalekseev closed this May 28, 2020
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.

Print the rest of the output before process exit
1 participant