helper/command: print the command output in case of error