Constructor.
@api
string $script The PHP script to run (as a string):
string $cwd The working directory:
array $env The environment variables:
integer $timeout The timeout in seconds:
array $options An array of options for proc_open:
Overrides Process::__construct
public function __construct($script, $cwd = null, array $env = array(), $timeout = 60, array $options = array()) {
parent::__construct(null, $cwd, $env, $script, $timeout, $options);
$this->executableFinder = new PhpExecutableFinder();
}