-
Notifications
You must be signed in to change notification settings - Fork 203
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
change run_shell_cmd
to store command output in temporary file(s) by default + pass RunShellCmdResult
instance to RunShellCmdError
#4356
Conversation
09d3dbc
to
05374ad
Compare
…odules.py and tools/systemtools.py
…olders in run_shell_cmd
run_shell_cmd
to always store command output in temporary file(s) + pass RunShellCmdResult
instance to RunShellCmdError
run_shell_cmd
to store command output in temporary file(s) by default + pass RunShellCmdResult
instance to RunShellCmdError
…o individual fields
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, passing the output and error file pointers to RunShellCmdError
from the outside will avoid the duplicate logs. I have a minor nitpick suggestion :)
…ShellCmdError.print
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
WIP because i) tests still fail, ii) it sits on top of #4351 which should get merged first