• Poul-Henning Kamp's avatar
    Rework the shell command, so that expected exit code and pattern to · 3fb17e94
    Poul-Henning Kamp authored
    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.
    3fb17e94
vtc.c 16.3 KB