$ winpty -Xallow-non-tty -Xplain <command-line>
winpty -Xallow-non-tty -Xplain <command-line>
Outputs properly; just don’t trust its return code.