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

Store combined output (stdout+stderr) #4

Closed
wants to merge 13 commits into from

Conversation

njam
Copy link

@njam njam commented Jan 20, 2015

Closes #1
Based on #3

@njam njam mentioned this pull request Jan 20, 2015
@njam
Copy link
Author

njam commented Jan 20, 2015

What doesn't work is if the command outputs to stdout and stderr immediately after each other (without any delay). I believe the reason is that ruby loop is too slow, so that when I check the next available IO objects both are already available.

I think this happens very rarely in real life though. I added a skipped spec for that.

What do you think?

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling ba88176 on njam:output-combined into * on collectiveidea:master*.

@njam
Copy link
Author

njam commented Oct 27, 2015

Moving this to a new repo: https://github.com/cargomedia/komenda

@njam njam closed this Oct 27, 2015
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.

Expose combined stdout and stderr
2 participants