Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tools): allow to save stdout and stderr if the exec command fails
Currently, if a command run by the exec command returns an error code, its stdout and stderr are not saved. It could be beneficial to store at least the stderr if requested. Additionally, avoid creating output files when there is no content and also store the stderr of the failed command to diag.log. Signed-off-by: Frantisek Hrbata <[email protected]>
- Loading branch information