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

propagate error on AWS shell back to client #18

Open
yaroslavvb opened this issue Sep 20, 2018 · 0 comments
Open

propagate error on AWS shell back to client #18

yaroslavvb opened this issue Sep 20, 2018 · 0 comments

Comments

@yaroslavvb
Copy link
Contributor

Make run2 which captures stdout/stderr by default and prints it on error.
print(task.run2(somecommand)) #=> prints merged stdout/stderr

Use do_something 2>&1 | tee -a some_file

Then make run2 the default run method

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