Exec class for executing on the command line.