[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/console/Helper/ -> ProcessHelper.php (summary)

(no description)

File Size: 144 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ProcessHelper:: (5 methods):
  run()
  mustRun()
  wrapCallback()
  escapeString()
  getName()


Class: ProcessHelper  - X-Ref

The ProcessHelper class provides helpers to run external processes.

run(OutputInterface $output, $cmd, string $error = null, callable $callback = null, int $verbosity = OutputInterface::VERBOSITY_VERY_VERBOSE)   X-Ref
Runs an external process.

param: array|Process $cmd      An instance of Process or an array of the command and arguments
param: callable|null $callback A PHP callback to run whenever there is some

mustRun(OutputInterface $output, $cmd, string $error = null, callable $callback = null)   X-Ref
Runs the process.

This is identical to run() except that an exception is thrown if the process
exits with a non-zero exit code.

param: array|Process $cmd      An instance of Process or a command to run
param: callable|null $callback A PHP callback to run whenever there is some

wrapCallback(OutputInterface $output, Process $process, callable $callback = null)   X-Ref
Wraps a Process callback to add debugging output.


escapeString(string $str)   X-Ref
No description

getName()   X-Ref
{@inheritdoc}




Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer