Only display command output if the command exists with an error.
Only display command output if the command exists with an error.


Former-commit-id: 8d2dec23e61b42a34c6e89ef5b6f9bfb96a392d7 [formerly f002f1cfdb3680188bcf2c55d6227c7a80b7ff35]
Former-commit-id: 42b7bbdcc833467443a1928896f7c0467e4a8dc0
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine