Lines Matching refs:Process
12 namespace Symfony\Component\Process\Tests;
15 use Symfony\Component\Process\Exception\LogicException;
16 use Symfony\Component\Process\Exception\ProcessTimedOutException;
17 use Symfony\Component\Process\Exception\RuntimeException;
18 use Symfony\Component\Process\InputStream;
19 use Symfony\Component\Process\PhpExecutableFinder;
20 use Symfony\Component\Process\Pipes\PipesInterface;
21 use Symfony\Component\Process\Process; alias
62 $cmd = new Process('echo test', __DIR__);
65 $cmd = new Process('echo test', __DIR__.'/notfound/');
456 $this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
496 if (!Process::isPtySupported()) {
504 $this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
605 $this->assertSame(Process::STATUS_READY, $process->getStatus());
610 $this->assertSame(Process::STATUS_STARTED, $process->getStatus());
615 $this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
1456 $p = new Process(['/usr/bin/php']);
1467 $p = new Process([self::$phpBin, '-r', 'echo $argv[1];', $arg]);
1479 $p = new Process([self::$phpBin, '-r', 'echo $argv[1];', $arg], null, ['BAR' => 'BAZ']);
1488 …$p = new Process(sprintf('"%s" -r %s "a" "" "b"', self::$phpBin, escapeshellarg('print_r($argv);')…
1522 $p = new Process($cmd, null, $env);
1544 * @return Process
1548 $process = new Process($commandline, $cwd, $env, $input, $timeout);
1574 * @return Process