helper/command: simplify run_command()