Add methods for running the command, but raise `CommandFailed` or `CommandNotFound` exception.
Add methods for running the command, but raise
CommandFailedorCommandNotFoundexception.