We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Make run2 which captures stdout/stderr by default and prints it on error. print(task.run2(somecommand)) #=> prints merged stdout/stderr
run2
print(task.run2(somecommand)) #=> prints merged stdout/stderr
Use do_something 2>&1 | tee -a some_file
do_something 2>&1 | tee -a some_file
Then make run2 the default run method
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: