Lines Matching refs:Process

12 namespace Symfony\Component\Process;
14 use Symfony\Component\Process\Exception\InvalidArgumentException;
15 use Symfony\Component\Process\Exception\LogicException;
16 use Symfony\Component\Process\Exception\ProcessFailedException;
17 use Symfony\Component\Process\Exception\ProcessSignaledException;
18 use Symfony\Component\Process\Exception\ProcessTimedOutException;
19 use Symfony\Component\Process\Exception\RuntimeException;
20 use Symfony\Component\Process\Pipes\PipesInterface;
21 use Symfony\Component\Process\Pipes\UnixPipes;
22 use Symfony\Component\Process\Pipes\WindowsPipes;
25 * Process is a thin wrapper around proc_* functions to easily
33 class Process implements \IteratorAggregate
106 134 => 'Process aborted',
146 throw new LogicException('The Process class relies on proc_open, which is not available on your PHP installation.');
170 * Creates a Process instance as a command-line to be run in a shell wrapper.
179 * $process = Process::fromShellCommandline('my_command "${:MY_VAR}"');
300 throw new RuntimeException('Process is already running.');
391 throw new RuntimeException('Process is already running.');
424 throw new LogicException('Pass the callback to the "Process::start" method or call enableOutput to use a callback with "Process::wait".');
465 throw new LogicException('Pass the callback to the "Process::start" method or call enableOutput to use a callback with "Process::waitUntil".');
616 * Returns an iterator to the output of the process, with the output type as keys (Process::OUT/ERR).
618 * @param int $flags A bit field of Process::ITER_* flags
749 * @return int|null The exit status code, null if the Process is not terminated
764 * @return string|null A string representation for the exit status code, null if the Process is not terminated
1156 * Gets the Process input.
1596 throw new LogicException(sprintf('Process must be started before calling "%s()".', $functionName));
1608 throw new LogicException(sprintf('Process must be terminated before calling "%s()".', $functionName));