Revert "fixes RT #98012, shellcmd STDERR/STDOUT trapping had typo"

This reverts commit f47670f9d8725df8b0796433777a1935eb53a48e.