Commonise exec() of commands