Command execution abstraction for PHP.