Closed sgielen closed 2 years ago
You can redirect stderr to stdout by adding 2>&1
to the command.
That requires changing the original step, though, which may be a longer run
script.
Although I suppose you could just add an exec 2>&1
at the top, so now that I think about it, it isn't as bad as I thought. I'll go with that :-)
Thanks for taking the time to get back to me!
If a command outputs something like:
The outputs are:
stdout
stderr
And you wouldn't know which test failed. Would it be possible to have a second output
output
that contains both stdout and stderr, in the correct order?Thanks!