Lines Matching refs:output

230      * The callback receives the type of output (out or err) and
231 * some bytes from the output in real-time. It allows to have feedback
238 * output available on STDOUT or STDERR
246 * @throws LogicException In case a callback is provided and output has been disabled
286 * The callback receives the type of output (out or err) and some bytes from
287 * the output in real-time while writing the standard input to the process.
291 * output available on STDOUT or STDERR
295 * @throws LogicException In case a callback is provided and output has been disabled
329 // last exit code is output on the fourth pipe and caught to work around --enable-sigchild
377 * output available on STDOUT or STDERR
403 * The callback receives the type of output (out or err) and some bytes
404 * from the output in real-time while writing the standard input to the process.
450 * The callback receives the type of output (out or err) and some bytes
451 * from the output in real-time while writing the standard input to the process.
473 $output = $this->processPipes->readAndWrite($running, '\\' !== \DIRECTORY_SEPARATOR || !$running);
475 foreach ($output as $type => $data) {
522 * Disables fetching output and error output from the underlying process.
532 throw new RuntimeException('Disabling output while the process is running is not possible.');
544 * Enables fetching output and error output from the underlying process.
553 throw new RuntimeException('Enabling output while the process is running is not possible.');
562 * Returns true in case the output is disabled, false otherwise.
572 * Returns the current output of the process (STDOUT).
576 * @throws LogicException in case the output has been disabled
591 * Returns the output incrementally.
594 * output, this one returns the new output since the last call.
598 * @throws LogicException in case the output has been disabled
616 * Returns an iterator to the output of the process, with the output type as keys (Process::OUT/ERR).
620 * @throws LogicException in case the output has been disabled
674 * Clears the process output.
688 * Returns the current error output of the process (STDERR).
692 * @throws LogicException in case the output has been disabled
710 * whole error output, this one returns the new error output since the last
715 * @throws LogicException in case the output has been disabled
733 * Clears the process output.
975 * Gets the last output time in seconds.
1003 * Gets the process idle timeout in seconds (max. time since last output).
1029 * Sets the process idle timeout (max. time since last output) in seconds.
1035 * @throws LogicException if the output is disabled
1041 throw new LogicException('Idle timeout cannot be set while the output is disabled.');
1306 * The callbacks adds all occurred output to the specific buffer and calls
1307 * the user callback (if present) with the received output.
1381 * Reads pipes for the freshest output.
1386 * @throws LogicException in case output has been disabled or process is not started
1509 exec(sprintf('taskkill /F /T /PID %d 2>&1', $pid), $output, $exitCode);
1512 throw new RuntimeException(sprintf('Unable to kill the process (%s).', implode(' ', $output)));