Lines Matching +full:run +full:- +full:script
18 * PhpProcess runs a PHP script in an independent process.
21 * $p->run();
22 * print $p->getOutput()."\n";
29 * @param string $script The PHP script to run (as a string)
35 …public function __construct(string $script, ?string $cwd = null, ?array $env = null, int $timeout … argument
39 $php = $executableFinder->find(false);
40 $php = false === $php ? null : array_merge([$php], $executableFinder->findArguments());
44 file_put_contents($file, $script);
47 $script = null;
50 parent::__construct($php, $cwd, $env, $script, $timeout);
66 if (null === $this->getCommandLine()) {