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

pristine stdout #50

Open
briceburg opened this issue Dec 4, 2016 · 0 comments
Open

pristine stdout #50

briceburg opened this issue Dec 4, 2016 · 0 comments
Milestone

Comments

@briceburg
Copy link
Member

briceburg commented Dec 4, 2016

In 7e4f37c we direct most commands to stderr to keep pristine outupt; e.g.

echo "foo" | ./main.sh run sed 's/foo/bar/' > a.txt

should result in "bar" only in a.txt (no docker build messages, etc.).

Perhaps a better strategy is to link fd3 to stderr, redirect stdout to fd3 in main.sh (which ought to cover all output), and then explicitly write to stdout in the runtime, ls, and image routines.

The worry is that commit above doesn't handle all cases.

@briceburg briceburg added this to the beyond milestone Feb 28, 2017
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

No branches or pull requests

1 participant