Handle error display in run_command()