Rework the shell command, so that expected exit code and pattern to
be found are options to "shell". Deprecate err_shell. Structure output to always be prefixed by "shell" since we're running at the top level. Also prefix commands with "exec 2>&1 ;" to join stdout+stderr by default. This still doesn't cover the shells stderr in case of bad shell syntax, which is annoying, but not worth fighting for right now.
Showing
Please register or sign in to comment