public function __construct($execPath, $arguments, $env = array(), $dir = '') { $this->execPath = $execPath; $this->arguments = $arguments; $this->env = new Env($env); $this->dir = $dir; }