[PATCH v5 3/5] programs/cmd: Create helper to execute a command.