caisse-bliss/v1/.phpdoc/build/classes/Symfony-Component-Process-Process.html
2025-02-09 16:45:35 +01:00

7177 lines
341 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/template.js"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/doctrinemigrations.html" class="">DoctrineMigrations</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/hwi.html" class="">HWI</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/hwi-bundle.html" class="">Bundle</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/caissebliss.html" class="">CaisseBliss</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/caissebliss-controller.html" class="">Controller</a>
</li>
<li>
<a href="namespaces/caissebliss-entity.html" class="">Entity</a>
</li>
<li>
<a href="namespaces/caissebliss-form.html" class="">Form</a>
</li>
<li>
<a href="namespaces/caissebliss-repository.html" class="">Repository</a>
</li>
<li>
<a href="namespaces/caissebliss-security.html" class="">Security</a>
</li>
<li>
<a href="namespaces/caissebliss-service.html" class="">Service</a>
</li>
<li>
<a href="namespaces/caissebliss-tests.html" class="">Tests</a>
</li>
<li>
<a href="namespaces/caissebliss-traits.html" class="">Traits</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/tests.html" class="">Tests</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/tests-appbundle.html" class="">AppBundle</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/app.html" class="">App</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/app-controller.html" class="">Controller</a>
</li>
<li>
<a href="namespaces/app-datafixtures.html" class="">DataFixtures</a>
</li>
<li>
<a href="namespaces/app-entity.html" class="">Entity</a>
</li>
<li>
<a href="namespaces/app-form.html" class="">Form</a>
</li>
<li>
<a href="namespaces/app-repository.html" class="">Repository</a>
</li>
<li>
<a href="namespaces/app-security.html" class="">Security</a>
</li>
<li>
<a href="namespaces/app-traits.html" class="">Traits</a>
</li>
<li>
<a href="namespaces/app-tests.html" class="">Tests</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/containervvrt4pd.html" class="">ContainerVvRT4pd</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/symfony.html" class="">Symfony</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/symfony-config.html" class="">Config</a>
</li>
<li>
<a href="namespaces/symfony-component.html" class="">Component</a>
</li>
<li>
<a href="namespaces/symfony-contracts.html" class="">Contracts</a>
</li>
<li>
<a href="namespaces/symfony-bundle.html" class="">Bundle</a>
</li>
<li>
<a href="namespaces/symfony-bridge.html" class="">Bridge</a>
</li>
<li>
<a href="namespaces/symfony-flex.html" class="">Flex</a>
</li>
<li>
<a href="namespaces/symfony-polyfill.html" class="">Polyfill</a>
</li>
<li>
<a href="namespaces/symfony-runtime.html" class="">Runtime</a>
</li>
<li>
<a href="namespaces/symfony-webpackencorebundle.html" class="">WebpackEncoreBundle</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/composer.html" class="">Composer</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/composer-autoload.html" class="">Autoload</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/doctrine.html" class="">Doctrine</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/doctrine-common.html" class="">Common</a>
</li>
<li>
<a href="namespaces/doctrine-dbal.html" class="">DBAL</a>
</li>
<li>
<a href="namespaces/doctrine-deprecations.html" class="">Deprecations</a>
</li>
<li>
<a href="namespaces/doctrine-bundle.html" class="">Bundle</a>
</li>
<li>
<a href="namespaces/doctrine-inflector.html" class="">Inflector</a>
</li>
<li>
<a href="namespaces/doctrine-instantiator.html" class="">Instantiator</a>
</li>
<li>
<a href="namespaces/doctrine-migrations.html" class="">Migrations</a>
</li>
<li>
<a href="namespaces/doctrine-orm.html" class="">ORM</a>
</li>
<li>
<a href="namespaces/doctrine-persistence.html" class="">Persistence</a>
</li>
<li>
<a href="namespaces/doctrine-sqlformatter.html" class="">SqlFormatter</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/easycorp.html" class="">EasyCorp</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/easycorp-bundle.html" class="">Bundle</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/egulias.html" class="">Egulias</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/egulias-emailvalidator.html" class="">EmailValidator</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/proxymanager.html" class="">ProxyManager</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/proxymanager-autoloader.html" class="">Autoloader</a>
</li>
<li>
<a href="namespaces/proxymanager-exception.html" class="">Exception</a>
</li>
<li>
<a href="namespaces/proxymanager-factory.html" class="">Factory</a>
</li>
<li>
<a href="namespaces/proxymanager-filelocator.html" class="">FileLocator</a>
</li>
<li>
<a href="namespaces/proxymanager-generator.html" class="">Generator</a>
</li>
<li>
<a href="namespaces/proxymanager-generatorstrategy.html" class="">GeneratorStrategy</a>
</li>
<li>
<a href="namespaces/proxymanager-inflector.html" class="">Inflector</a>
</li>
<li>
<a href="namespaces/proxymanager-proxy.html" class="">Proxy</a>
</li>
<li>
<a href="namespaces/proxymanager-proxygenerator.html" class="">ProxyGenerator</a>
</li>
<li>
<a href="namespaces/proxymanager-signature.html" class="">Signature</a>
</li>
<li>
<a href="namespaces/proxymanager-stub.html" class="">Stub</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/laminas.html" class="">Laminas</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/laminas-code.html" class="">Code</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/monolog.html" class="">Monolog</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/monolog-attribute.html" class="">Attribute</a>
</li>
<li>
<a href="namespaces/monolog-formatter.html" class="">Formatter</a>
</li>
<li>
<a href="namespaces/monolog-handler.html" class="">Handler</a>
</li>
<li>
<a href="namespaces/monolog-processor.html" class="">Processor</a>
</li>
<li>
<a href="namespaces/monolog-test.html" class="">Test</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/deepcopy.html" class="">DeepCopy</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/deepcopy-exception.html" class="">Exception</a>
</li>
<li>
<a href="namespaces/deepcopy-filter.html" class="">Filter</a>
</li>
<li>
<a href="namespaces/deepcopy-matcher.html" class="">Matcher</a>
</li>
<li>
<a href="namespaces/deepcopy-reflection.html" class="">Reflection</a>
</li>
<li>
<a href="namespaces/deepcopy-typefilter.html" class="">TypeFilter</a>
</li>
<li>
<a href="namespaces/deepcopy-typematcher.html" class="">TypeMatcher</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phpparser.html" class="">PhpParser</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phpparser-builder.html" class="">Builder</a>
</li>
<li>
<a href="namespaces/phpparser-comment.html" class="">Comment</a>
</li>
<li>
<a href="namespaces/phpparser-errorhandler.html" class="">ErrorHandler</a>
</li>
<li>
<a href="namespaces/phpparser-internal.html" class="">Internal</a>
</li>
<li>
<a href="namespaces/phpparser-lexer.html" class="">Lexer</a>
</li>
<li>
<a href="namespaces/phpparser-node.html" class="">Node</a>
</li>
<li>
<a href="namespaces/phpparser-nodevisitor.html" class="">NodeVisitor</a>
</li>
<li>
<a href="namespaces/phpparser-parser.html" class="">Parser</a>
</li>
<li>
<a href="namespaces/phpparser-prettyprinter.html" class="">PrettyPrinter</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phario.html" class="">PharIo</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phario-manifest.html" class="">Manifest</a>
</li>
<li>
<a href="namespaces/phario-version.html" class="">Version</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phpdocumentor.html" class="">phpDocumentor</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phpdocumentor-reflection.html" class="">Reflection</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phpstan.html" class="">PHPStan</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phpstan-phpdocparser.html" class="">PhpDocParser</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/phpunit.html" class="">PHPUnit</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/phpunit-framework.html" class="">Framework</a>
</li>
<li>
<a href="namespaces/phpunit-runner.html" class="">Runner</a>
</li>
<li>
<a href="namespaces/phpunit-textui.html" class="">TextUI</a>
</li>
<li>
<a href="namespaces/phpunit-util.html" class="">Util</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/psr.html" class="">Psr</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/psr-cache.html" class="">Cache</a>
</li>
<li>
<a href="namespaces/psr-container.html" class="">Container</a>
</li>
<li>
<a href="namespaces/psr-eventdispatcher.html" class="">EventDispatcher</a>
</li>
<li>
<a href="namespaces/psr-link.html" class="">Link</a>
</li>
<li>
<a href="namespaces/psr-log.html" class="">Log</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/sebastianbergmann.html" class="">SebastianBergmann</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/sebastianbergmann-codecoverage.html" class="">CodeCoverage</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-fileiterator.html" class="">FileIterator</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-invoker.html" class="">Invoker</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-template.html" class="">Template</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-timer.html" class="">Timer</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-cliparser.html" class="">CliParser</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-codeunit.html" class="">CodeUnit</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-codeunitreverselookup.html" class="">CodeUnitReverseLookup</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-comparator.html" class="">Comparator</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-complexity.html" class="">Complexity</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-diff.html" class="">Diff</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-environment.html" class="">Environment</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-exporter.html" class="">Exporter</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-globalstate.html" class="">GlobalState</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-linesofcode.html" class="">LinesOfCode</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-objectenumerator.html" class="">ObjectEnumerator</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-objectreflector.html" class="">ObjectReflector</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-recursioncontext.html" class="">RecursionContext</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-resourceoperations.html" class="">ResourceOperations</a>
</li>
<li>
<a href="namespaces/sebastianbergmann-type.html" class="">Type</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/theseer.html" class="">TheSeer</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/theseer-tokenizer.html" class="">Tokenizer</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/twig.html" class="">Twig</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/twig-extra.html" class="">Extra</a>
</li>
<li>
<a href="namespaces/twig-cache.html" class="">Cache</a>
</li>
<li>
<a href="namespaces/twig-error.html" class="">Error</a>
</li>
<li>
<a href="namespaces/twig-extension.html" class="">Extension</a>
</li>
<li>
<a href="namespaces/twig-loader.html" class="">Loader</a>
</li>
<li>
<a href="namespaces/twig-node.html" class="">Node</a>
</li>
<li>
<a href="namespaces/twig-nodevisitor.html" class="">NodeVisitor</a>
</li>
<li>
<a href="namespaces/twig-profiler.html" class="">Profiler</a>
</li>
<li>
<a href="namespaces/twig-runtimeloader.html" class="">RuntimeLoader</a>
</li>
<li>
<a href="namespaces/twig-sandbox.html" class="">Sandbox</a>
</li>
<li>
<a href="namespaces/twig-test.html" class="">Test</a>
</li>
<li>
<a href="namespaces/twig-tokenparser.html" class="">TokenParser</a>
</li>
<li>
<a href="namespaces/twig-util.html" class="">Util</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/webmozart.html" class="">Webmozart</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/webmozart-assert.html" class="">Assert</a>
</li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/Application.html" class="">Application</a>
</h4>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -nine phpdocumentor-content">
<section>
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/symfony.html">Symfony</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/symfony-component.html">Component</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/symfony-component-process.html">Process</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
Process
<div class="phpdocumentor-element__package">
in package
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
</ul>
</div>
<span class="phpdocumentor-element__implements">
implements
<abbr title="\IteratorAggregate">IteratorAggregate</abbr> </span>
</h2>
<div class="phpdocumentor-label-line">
</div>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">33</span>
</aside>
<p class="phpdocumentor-summary">Process is a thin wrapper around proc_* functions to easily
start independent PHP processes.</p>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Fabien Potencier <a href="mailto:fabien@symfony.com">fabien@symfony.com</a></p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">author</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>Romain Neutron <a href="mailto:imprec@gmail.com">imprec@gmail.com</a></p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">implements</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>\IteratorAggregate&lt;string, string&gt;</p>
</section>
</dd>
</dl>
<h3 id="toc">
Table of Contents
<a href="classes/Symfony-Component-Process-Process.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<h4 id="toc-interfaces">
Interfaces
<a href="classes/Symfony-Component-Process-Process.html#toc-interfaces" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -interface"><abbr title="\IteratorAggregate">IteratorAggregate</abbr></dt> </dl>
<h4 id="toc-constants">
Constants
<a href="classes/Symfony-Component-Process-Process.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_ERR">ERR</a>
<span>
&nbsp;= &#039;err&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_ITER_KEEP_OUTPUT">ITER_KEEP_OUTPUT</a>
<span>
&nbsp;= 2 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_ITER_NON_BLOCKING">ITER_NON_BLOCKING</a>
<span>
&nbsp;= 1 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_ITER_SKIP_ERR">ITER_SKIP_ERR</a>
<span>
&nbsp;= 8 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_ITER_SKIP_OUT">ITER_SKIP_OUT</a>
<span>
&nbsp;= 4 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_OUT">OUT</a>
<span>
&nbsp;= &#039;out&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_STATUS_READY">STATUS_READY</a>
<span>
&nbsp;= &#039;ready&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_STATUS_STARTED">STATUS_STARTED</a>
<span>
&nbsp;= &#039;started&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_STATUS_TERMINATED">STATUS_TERMINATED</a>
<span>
&nbsp;= &#039;terminated&#039; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_STDERR">STDERR</a>
<span>
&nbsp;= 2 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_STDIN">STDIN</a>
<span>
&nbsp;= 0 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_STDOUT">STDOUT</a>
<span>
&nbsp;= 1 </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/Symfony-Component-Process-Process.html#constant_TIMEOUT_PRECISION">TIMEOUT_PRECISION</a>
<span>
&nbsp;= 0.2 </span>
</dt>
</dl>
<h4 id="toc-properties">
Properties
<a href="classes/Symfony-Component-Process-Process.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a href="classes/Symfony-Component-Process-Process.html#property_exitCodes">$exitCodes</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Exit codes translation table.</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_callback">$callback</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_commandline">$commandline</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_cwd">$cwd</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_env">$env</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_exitcode">$exitcode</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_fallbackStatus">$fallbackStatus</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_hasCallback">$hasCallback</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_idleTimeout">$idleTimeout</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_incrementalErrorOutputOffset">$incrementalErrorOutputOffset</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_incrementalOutputOffset">$incrementalOutputOffset</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_input">$input</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_lastOutputTime">$lastOutputTime</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_latestSignal">$latestSignal</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_options">$options</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_outputDisabled">$outputDisabled</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_process">$process</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_processInformation">$processInformation</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_processPipes">$processPipes</a>
<span>
&nbsp;: <abbr title="\Symfony\Component\Process\Pipes\PipesInterface">PipesInterface</abbr> </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_pty">$pty</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_sigchild">$sigchild</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_starttime">$starttime</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_status">$status</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_stderr">$stderr</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_stdout">$stdout</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_timeout">$timeout</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_tty">$tty</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a href="classes/Symfony-Component-Process-Process.html#property_useFileHandles">$useFileHandles</a>
<span>
&nbsp;: mixed </span>
</dt>
</dl>
<h4 id="toc-methods">
Methods
<a href="classes/Symfony-Component-Process-Process.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method___clone">__clone()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method___construct">__construct()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method___destruct">__destruct()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method___sleep">__sleep()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method___wakeup">__wakeup()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_checkTimeout">checkTimeout()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Performs a check between the timeout definition and the time the process started.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_clearErrorOutput">clearErrorOutput()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Clears the process output.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_clearOutput">clearOutput()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Clears the process output.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_disableOutput">disableOutput()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Disables fetching output and error output from the underlying process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_enableOutput">enableOutput()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Enables fetching output and error output from the underlying process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_fromShellCommandline">fromShellCommandline()</a>
<span>
&nbsp;: static </span>
</dt>
<dd>Creates a Process instance as a command-line to be run in a shell wrapper.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getCommandLine">getCommandLine()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Gets the command line to be executed.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getEnv">getEnv()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Gets the environment variables.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getErrorOutput">getErrorOutput()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the current error output of the process (STDERR).</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getExitCode">getExitCode()</a>
<span>
&nbsp;: int|null </span>
</dt>
<dd>Returns the exit code returned by the process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getExitCodeText">getExitCodeText()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Returns a string representation for the exit code returned by the process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getIdleTimeout">getIdleTimeout()</a>
<span>
&nbsp;: float|null </span>
</dt>
<dd>Gets the process idle timeout in seconds (max. time since last output).</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getIncrementalErrorOutput">getIncrementalErrorOutput()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the errorOutput incrementally.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getIncrementalOutput">getIncrementalOutput()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the output incrementally.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getInput">getInput()</a>
<span>
&nbsp;: resource|string|<abbr title="\Iterator">Iterator</abbr>|null </span>
</dt>
<dd>Gets the Process input.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getIterator">getIterator()</a>
<span>
&nbsp;: <abbr title="\Generator">Generator</abbr> </span>
</dt>
<dd>Returns an iterator to the output of the process, with the output type as keys (Process::OUT/ERR).</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getLastOutputTime">getLastOutputTime()</a>
<span>
&nbsp;: float|null </span>
</dt>
<dd>Gets the last output time in seconds.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getOutput">getOutput()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns the current output of the process (STDOUT).</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getPid">getPid()</a>
<span>
&nbsp;: int|null </span>
</dt>
<dd>Returns the Pid (process identifier), if applicable.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getStartTime">getStartTime()</a>
<span>
&nbsp;: float </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getStatus">getStatus()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Gets the process status.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getStopSignal">getStopSignal()</a>
<span>
&nbsp;: int </span>
</dt>
<dd>Returns the number of the signal that caused the child process to stop its execution.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getTermSignal">getTermSignal()</a>
<span>
&nbsp;: int </span>
</dt>
<dd>Returns the number of the signal that caused the child process to terminate its execution.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getTimeout">getTimeout()</a>
<span>
&nbsp;: float|null </span>
</dt>
<dd>Gets the process timeout in seconds (max. runtime).</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_getWorkingDirectory">getWorkingDirectory()</a>
<span>
&nbsp;: string|null </span>
</dt>
<dd>Gets the working directory.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_hasBeenSignaled">hasBeenSignaled()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Returns true if the child process has been terminated by an uncaught signal.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_hasBeenStopped">hasBeenStopped()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Returns true if the child process has been stopped by a signal.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_isOutputDisabled">isOutputDisabled()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Returns true in case the output is disabled, false otherwise.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_isPty">isPty()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Returns PTY state.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_isPtySupported">isPtySupported()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Returns whether PTY is supported on the current operating system.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_isRunning">isRunning()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks if the process is currently running.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_isStarted">isStarted()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks if the process has been started with no regard to the current state.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_isSuccessful">isSuccessful()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks if the process ended successfully.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_isTerminated">isTerminated()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks if the process is terminated.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_isTty">isTty()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Checks if the TTY mode is enabled.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_isTtySupported">isTtySupported()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Returns whether TTY is supported on the current operating system.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_mustRun">mustRun()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Runs the process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_restart">restart()</a>
<span>
&nbsp;: static </span>
</dt>
<dd>Restarts the process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_run">run()</a>
<span>
&nbsp;: int </span>
</dt>
<dd>Runs the process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_setEnv">setEnv()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Sets the environment variables.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_setIdleTimeout">setIdleTimeout()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Sets the process idle timeout (max. time since last output) in seconds.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_setInput">setInput()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Sets the input.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_setOptions">setOptions()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Defines options to pass to the underlying proc_open().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_setPty">setPty()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Sets PTY mode.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_setTimeout">setTimeout()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Sets the process timeout (max. runtime) in seconds.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_setTty">setTty()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Enables or disables the TTY mode.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_setWorkingDirectory">setWorkingDirectory()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Sets the current working directory.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_signal">signal()</a>
<span>
&nbsp;: $this </span>
</dt>
<dd>Sends a POSIX signal to the process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_start">start()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Starts the process and returns after writing the input to STDIN.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_stop">stop()</a>
<span>
&nbsp;: int|null </span>
</dt>
<dd>Stops the process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_wait">wait()</a>
<span>
&nbsp;: int </span>
</dt>
<dd>Waits for the process to terminate.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a href="classes/Symfony-Component-Process-Process.html#method_waitUntil">waitUntil()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Waits until the callback returns true.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/Symfony-Component-Process-Process.html#method_buildCallback">buildCallback()</a>
<span>
&nbsp;: <abbr title="\Closure">Closure</abbr> </span>
</dt>
<dd>Builds up the callback used by wait().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/Symfony-Component-Process-Process.html#method_isSigchildEnabled">isSigchildEnabled()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Returns whether PHP has been compiled with the &#039;--enable-sigchild&#039; option or not.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a href="classes/Symfony-Component-Process-Process.html#method_updateStatus">updateStatus()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Updates the status of the process, reads pipes.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_close">close()</a>
<span>
&nbsp;: int </span>
</dt>
<dd>Closes process resource, closes file handles, sets the exitcode.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_doSignal">doSignal()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Sends a POSIX signal to the process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_escapeArgument">escapeArgument()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Escapes a string to be used as a shell argument.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_getDefaultEnv">getDefaultEnv()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_getDescriptors">getDescriptors()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Creates the descriptors needed by the proc_open.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_prepareWindowsCommandLine">prepareWindowsCommandLine()</a>
<span>
&nbsp;: string </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_readPipes">readPipes()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Reads pipes, executes callback.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_readPipesForOutput">readPipesForOutput()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Reads pipes for the freshest output.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_replacePlaceholders">replacePlaceholders()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_requireProcessIsStarted">requireProcessIsStarted()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Ensures the process is running or terminated, throws a LogicException if the process has a not started.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_requireProcessIsTerminated">requireProcessIsTerminated()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Ensures the process is terminated, throws a LogicException if the process has a status different than &quot;terminated&quot;.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_resetProcessData">resetProcessData()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Resets data related to the latest run of the process.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a href="classes/Symfony-Component-Process-Process.html#method_validateTimeout">validateTimeout()</a>
<span>
&nbsp;: float|null </span>
</dt>
<dd>Validates and returns the filtered timeout.</dd>
</dl>
<section class="phpdocumentor-constants">
<h3 class="phpdocumentor-elements__header" id="constants">
Constants
<a href="classes/Symfony-Component-Process-Process.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_ERR">
ERR
<a href="classes/Symfony-Component-Process-Process.html#constant_ERR" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">35</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">ERR</span>
= <span class="phpdocumentor-signature__default-value">&#039;err&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_ITER_KEEP_OUTPUT">
ITER_KEEP_OUTPUT
<a href="classes/Symfony-Component-Process-Process.html#constant_ITER_KEEP_OUTPUT" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">50</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">ITER_KEEP_OUTPUT</span>
= <span class="phpdocumentor-signature__default-value">2</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_ITER_NON_BLOCKING">
ITER_NON_BLOCKING
<a href="classes/Symfony-Component-Process-Process.html#constant_ITER_NON_BLOCKING" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">49</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">ITER_NON_BLOCKING</span>
= <span class="phpdocumentor-signature__default-value">1</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_ITER_SKIP_ERR">
ITER_SKIP_ERR
<a href="classes/Symfony-Component-Process-Process.html#constant_ITER_SKIP_ERR" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">52</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">ITER_SKIP_ERR</span>
= <span class="phpdocumentor-signature__default-value">8</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_ITER_SKIP_OUT">
ITER_SKIP_OUT
<a href="classes/Symfony-Component-Process-Process.html#constant_ITER_SKIP_OUT" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">51</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">ITER_SKIP_OUT</span>
= <span class="phpdocumentor-signature__default-value">4</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_OUT">
OUT
<a href="classes/Symfony-Component-Process-Process.html#constant_OUT" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">36</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">OUT</span>
= <span class="phpdocumentor-signature__default-value">&#039;out&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_STATUS_READY">
STATUS_READY
<a href="classes/Symfony-Component-Process-Process.html#constant_STATUS_READY" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">38</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">STATUS_READY</span>
= <span class="phpdocumentor-signature__default-value">&#039;ready&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_STATUS_STARTED">
STATUS_STARTED
<a href="classes/Symfony-Component-Process-Process.html#constant_STATUS_STARTED" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">39</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">STATUS_STARTED</span>
= <span class="phpdocumentor-signature__default-value">&#039;started&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_STATUS_TERMINATED">
STATUS_TERMINATED
<a href="classes/Symfony-Component-Process-Process.html#constant_STATUS_TERMINATED" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">40</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">STATUS_TERMINATED</span>
= <span class="phpdocumentor-signature__default-value">&#039;terminated&#039;</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_STDERR">
STDERR
<a href="classes/Symfony-Component-Process-Process.html#constant_STDERR" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">44</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">STDERR</span>
= <span class="phpdocumentor-signature__default-value">2</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_STDIN">
STDIN
<a href="classes/Symfony-Component-Process-Process.html#constant_STDIN" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">42</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">STDIN</span>
= <span class="phpdocumentor-signature__default-value">0</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_STDOUT">
STDOUT
<a href="classes/Symfony-Component-Process-Process.html#constant_STDOUT" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">43</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">STDOUT</span>
= <span class="phpdocumentor-signature__default-value">1</span>
</code>
</article>
<article class="phpdocumentor-element -constant -public ">
<h4 class="phpdocumentor-element__name" id="constant_TIMEOUT_PRECISION">
TIMEOUT_PRECISION
<a href="classes/Symfony-Component-Process-Process.html#constant_TIMEOUT_PRECISION" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">47</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">TIMEOUT_PRECISION</span>
= <span class="phpdocumentor-signature__default-value">0.2</span>
</code>
</article>
</section>
<section class="phpdocumentor-properties">
<h3 class="phpdocumentor-elements__header" id="properties">
Properties
<a href="classes/Symfony-Component-Process-Process.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="
phpdocumentor-element
-property
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="property_exitCodes">
$exitCodes
<a href="classes/Symfony-Component-Process-Process.html#property_exitCodes" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">91</span>
</aside>
<p class="phpdocumentor-summary">Exit codes translation table.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$exitCodes</span>
= <span class="phpdocumentor-signature__default-value">[
0 =&gt; &#039;OK&#039;,
1 =&gt; &#039;General error&#039;,
2 =&gt; &#039;Misuse of shell builtins&#039;,
126 =&gt; &#039;Invoked command cannot execute&#039;,
127 =&gt; &#039;Command not found&#039;,
128 =&gt; &#039;Invalid exit argument&#039;,
// signals
129 =&gt; &#039;Hangup&#039;,
130 =&gt; &#039;Interrupt&#039;,
131 =&gt; &#039;Quit and dump core&#039;,
132 =&gt; &#039;Illegal instruction&#039;,
133 =&gt; &#039;Trace/breakpoint trap&#039;,
134 =&gt; &#039;Process aborted&#039;,
135 =&gt; &#039;Bus error: &quot;access to undefined portion of memory object&quot;&#039;,
136 =&gt; &#039;Floating point exception: &quot;erroneous arithmetic operation&quot;&#039;,
137 =&gt; &#039;Kill (terminate immediately)&#039;,
138 =&gt; &#039;User-defined 1&#039;,
139 =&gt; &#039;Segmentation violation&#039;,
140 =&gt; &#039;User-defined 2&#039;,
141 =&gt; &#039;Write to pipe with no one reading&#039;,
142 =&gt; &#039;Signal raised by alarm&#039;,
143 =&gt; &#039;Termination (request to terminate)&#039;,
// 144 - not defined
145 =&gt; &#039;Child process terminated, stopped (or continued*)&#039;,
146 =&gt; &#039;Continue if stopped&#039;,
147 =&gt; &#039;Stop executing temporarily&#039;,
148 =&gt; &#039;Terminal stop signal&#039;,
149 =&gt; &#039;Background process attempting to read from tty (&quot;in&quot;)&#039;,
150 =&gt; &#039;Background process attempting to write to tty (&quot;out&quot;)&#039;,
151 =&gt; &#039;Urgent data available on socket&#039;,
152 =&gt; &#039;CPU time limit exceeded&#039;,
153 =&gt; &#039;File size limit exceeded&#039;,
154 =&gt; &#039;Signal raised by timer counting virtual time: &quot;virtual timer expired&quot;&#039;,
155 =&gt; &#039;Profiling timer expired&#039;,
// 156 - not defined
157 =&gt; &#039;Pollable event&#039;,
// 158 - not defined
159 =&gt; &#039;Bad syscall&#039;,
]</span></code>
<section class="phpdocumentor-description"><p>User-defined errors must use exit codes in the 64-113 range.</p>
</section>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_callback">
$callback
<a href="classes/Symfony-Component-Process-Process.html#property_callback" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">54</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$callback</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_commandline">
$commandline
<a href="classes/Symfony-Component-Process-Process.html#property_commandline" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">56</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$commandline</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_cwd">
$cwd
<a href="classes/Symfony-Component-Process-Process.html#property_cwd" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">57</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$cwd</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_env">
$env
<a href="classes/Symfony-Component-Process-Process.html#property_env" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">58</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$env</span>
= <span class="phpdocumentor-signature__default-value">[]</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_exitcode">
$exitcode
<a href="classes/Symfony-Component-Process-Process.html#property_exitcode" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">64</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$exitcode</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_fallbackStatus">
$fallbackStatus
<a href="classes/Symfony-Component-Process-Process.html#property_fallbackStatus" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">65</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$fallbackStatus</span>
= <span class="phpdocumentor-signature__default-value">[]</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_hasCallback">
$hasCallback
<a href="classes/Symfony-Component-Process-Process.html#property_hasCallback" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">55</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$hasCallback</span>
= <span class="phpdocumentor-signature__default-value">false</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_idleTimeout">
$idleTimeout
<a href="classes/Symfony-Component-Process-Process.html#property_idleTimeout" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">63</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$idleTimeout</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_incrementalErrorOutputOffset">
$incrementalErrorOutputOffset
<a href="classes/Symfony-Component-Process-Process.html#property_incrementalErrorOutputOffset" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">73</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$incrementalErrorOutputOffset</span>
= <span class="phpdocumentor-signature__default-value">0</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_incrementalOutputOffset">
$incrementalOutputOffset
<a href="classes/Symfony-Component-Process-Process.html#property_incrementalOutputOffset" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">72</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$incrementalOutputOffset</span>
= <span class="phpdocumentor-signature__default-value">0</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_input">
$input
<a href="classes/Symfony-Component-Process-Process.html#property_input" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">59</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$input</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_lastOutputTime">
$lastOutputTime
<a href="classes/Symfony-Component-Process-Process.html#property_lastOutputTime" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">61</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$lastOutputTime</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_latestSignal">
$latestSignal
<a href="classes/Symfony-Component-Process-Process.html#property_latestSignal" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">82</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$latestSignal</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_options">
$options
<a href="classes/Symfony-Component-Process-Process.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">76</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$options</span>
= <span class="phpdocumentor-signature__default-value">[&#039;suppress_errors&#039; =&gt; true, &#039;bypass_shell&#039; =&gt; true]</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_outputDisabled">
$outputDisabled
<a href="classes/Symfony-Component-Process-Process.html#property_outputDisabled" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">67</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$outputDisabled</span>
= <span class="phpdocumentor-signature__default-value">false</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_process">
$process
<a href="classes/Symfony-Component-Process-Process.html#property_process" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">70</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$process</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_processInformation">
$processInformation
<a href="classes/Symfony-Component-Process-Process.html#property_processInformation" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">66</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$processInformation</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_processPipes">
$processPipes
<a href="classes/Symfony-Component-Process-Process.html#property_processPipes" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">80</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type"><abbr title="\Symfony\Component\Process\Pipes\PipesInterface">PipesInterface</abbr></span>
<span class="phpdocumentor-signature__name">$processPipes</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_pty">
$pty
<a href="classes/Symfony-Component-Process-Process.html#property_pty" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">75</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$pty</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
-static "
>
<h4 class="phpdocumentor-element__name" id="property_sigchild">
$sigchild
<a href="classes/Symfony-Component-Process-Process.html#property_sigchild" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">84</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$sigchild</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_starttime">
$starttime
<a href="classes/Symfony-Component-Process-Process.html#property_starttime" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">60</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$starttime</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_status">
$status
<a href="classes/Symfony-Component-Process-Process.html#property_status" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">71</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$status</span>
= <span class="phpdocumentor-signature__default-value">self::STATUS_READY</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_stderr">
$stderr
<a href="classes/Symfony-Component-Process-Process.html#property_stderr" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">69</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$stderr</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_stdout">
$stdout
<a href="classes/Symfony-Component-Process-Process.html#property_stdout" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">68</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$stdout</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_timeout">
$timeout
<a href="classes/Symfony-Component-Process-Process.html#property_timeout" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">62</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$timeout</span>
</code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_tty">
$tty
<a href="classes/Symfony-Component-Process-Process.html#property_tty" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">74</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$tty</span>
= <span class="phpdocumentor-signature__default-value">false</span></code>
</article>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_useFileHandles">
$useFileHandles
<a href="classes/Symfony-Component-Process-Process.html#property_useFileHandles" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">78</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$useFileHandles</span>
= <span class="phpdocumentor-signature__default-value">false</span></code>
</article>
</section>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/Symfony-Component-Process-Process.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___clone">
__clone()
<a href="classes/Symfony-Component-Process-Process.html#method___clone" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">217</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__clone</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___construct">
__construct()
<a href="classes/Symfony-Component-Process-Process.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">143</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$command</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cwd</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$env</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$input</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|float|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timeout</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">60</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$command</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The command to run and its arguments listed as separate entries</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cwd</span>
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The working directory or null to use the working dir of the current PHP process</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$env</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The environment variables or null to use the same environment as the current PHP process</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$input</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The input as stream resource, scalar or \Traversable, or null for no input</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$timeout</span>
: <span class="phpdocumentor-signature__argument__return-type">int|float|null</span>
= <span class="phpdocumentor-signature__argument__default-value">60</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The timeout in seconds or null to disable</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method___construct#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>When proc_open is not installed</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___destruct">
__destruct()
<a href="classes/Symfony-Component-Process-Process.html#method___destruct" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">208</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__destruct</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___sleep">
__sleep()
<a href="classes/Symfony-Component-Process-Process.html#method___sleep" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">198</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__sleep</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method___wakeup">
__wakeup()
<a href="classes/Symfony-Component-Process-Process.html#method___wakeup" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">203</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__wakeup</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_checkTimeout">
checkTimeout()
<a href="classes/Symfony-Component-Process-Process.html#method_checkTimeout" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1143</span>
</aside>
<p class="phpdocumentor-summary">Performs a check between the timeout definition and the time the process started.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">checkTimeout</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>In case you run a background process (with the start method), you should
trigger this method regularly to ensure the process timeout</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_checkTimeout#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-ProcessTimedOutException.html"><abbr title="\Symfony\Component\Process\Exception\ProcessTimedOutException">ProcessTimedOutException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the timeout was reached</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_clearErrorOutput">
clearErrorOutput()
<a href="classes/Symfony-Component-Process-Process.html#method_clearErrorOutput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">717</span>
</aside>
<p class="phpdocumentor-summary">Clears the process output.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">clearErrorOutput</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_clearOutput">
clearOutput()
<a href="classes/Symfony-Component-Process-Process.html#method_clearOutput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">662</span>
</aside>
<p class="phpdocumentor-summary">Clears the process output.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">clearOutput</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_disableOutput">
disableOutput()
<a href="classes/Symfony-Component-Process-Process.html#method_disableOutput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">522</span>
</aside>
<p class="phpdocumentor-summary">Disables fetching output and error output from the underlying process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">disableOutput</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_disableOutput#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is already running</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>if an idle timeout is set</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_enableOutput">
enableOutput()
<a href="classes/Symfony-Component-Process-Process.html#method_enableOutput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">543</span>
</aside>
<p class="phpdocumentor-summary">Enables fetching output and error output from the underlying process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">enableOutput</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_enableOutput#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is already running</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_fromShellCommandline">
fromShellCommandline()
<a href="classes/Symfony-Component-Process-Process.html#method_fromShellCommandline" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">190</span>
</aside>
<p class="phpdocumentor-summary">Creates a Process instance as a command-line to be run in a shell wrapper.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">fromShellCommandline</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$command</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cwd</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$env</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$input</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|float|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timeout</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">60</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">static</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Command-lines are parsed by the shell of your OS (/bin/sh on Unix-like, cmd.exe on Windows.)
This allows using e.g. pipes or conditional execution. In this mode, signals are sent to the
shell wrapper and not to your commands.</p>
<p>In order to inject dynamic values into command-lines, we strongly recommend using placeholders.
This will save escaping values, which is not portable nor secure anyway:</p>
<p>$process = Process::fromShellCommandline('my_command &quot;${:MY_VAR}&quot;');
$process-&gt;run(null, ['MY_VAR' =&gt; $theValue]);</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$command</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The command line to pass to the shell of the OS</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cwd</span>
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The working directory or null to use the working dir of the current PHP process</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$env</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The environment variables or null to use the same environment as the current PHP process</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$input</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The input as stream resource, scalar or \Traversable, or null for no input</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$timeout</span>
: <span class="phpdocumentor-signature__argument__return-type">int|float|null</span>
= <span class="phpdocumentor-signature__argument__default-value">60</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The timeout in seconds or null to disable</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_fromShellCommandline#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>When proc_open is not installed</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">static</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getCommandLine">
getCommandLine()
<a href="classes/Symfony-Component-Process-Process.html#method_getCommandLine" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">947</span>
</aside>
<p class="phpdocumentor-summary">Gets the command line to be executed.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getCommandLine</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getEnv">
getEnv()
<a href="classes/Symfony-Component-Process-Process.html#method_getEnv" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1084</span>
</aside>
<p class="phpdocumentor-summary">Gets the environment variables.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getEnv</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getErrorOutput">
getErrorOutput()
<a href="classes/Symfony-Component-Process-Process.html#method_getErrorOutput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">677</span>
</aside>
<p class="phpdocumentor-summary">Returns the current error output of the process (STDERR).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getErrorOutput</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_getErrorOutput#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>in case the output has been disabled</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not started</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getExitCode">
getExitCode()
<a href="classes/Symfony-Component-Process-Process.html#method_getExitCode" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">731</span>
</aside>
<p class="phpdocumentor-summary">Returns the exit code returned by the process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getExitCode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int|null</span>
&mdash;
<section class="phpdocumentor-description"><p>The exit status code, null if the Process is not terminated</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getExitCodeText">
getExitCodeText()
<a href="classes/Symfony-Component-Process-Process.html#method_getExitCodeText" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">749</span>
</aside>
<p class="phpdocumentor-summary">Returns a string representation for the exit code returned by the process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getExitCodeText</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This method relies on the Unix exit code status standardization
and might not be relevant for other operating systems.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_getExitCodeText#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="http://tldp.org/LDP/abs/html/exitcodes.html">http://tldp.org/LDP/abs/html/exitcodes.html</a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="http://en.wikipedia.org/wiki/Unix_signal">http://en.wikipedia.org/wiki/Unix_signal</a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
&mdash;
<section class="phpdocumentor-description"><p>A string representation for the exit status code, null if the Process is not terminated</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getIdleTimeout">
getIdleTimeout()
<a href="classes/Symfony-Component-Process-Process.html#method_getIdleTimeout" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">963</span>
</aside>
<p class="phpdocumentor-summary">Gets the process idle timeout in seconds (max. time since last output).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getIdleTimeout</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">float|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getIncrementalErrorOutput">
getIncrementalErrorOutput()
<a href="classes/Symfony-Component-Process-Process.html#method_getIncrementalErrorOutput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">698</span>
</aside>
<p class="phpdocumentor-summary">Returns the errorOutput incrementally.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getIncrementalErrorOutput</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>In comparison with the getErrorOutput method which always return the
whole error output, this one returns the new error output since the last
call.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_getIncrementalErrorOutput#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>in case the output has been disabled</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not started</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getIncrementalOutput">
getIncrementalOutput()
<a href="classes/Symfony-Component-Process-Process.html#method_getIncrementalOutput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">588</span>
</aside>
<p class="phpdocumentor-summary">Returns the output incrementally.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getIncrementalOutput</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>In comparison with the getOutput method which always return the whole
output, this one returns the new output since the last call.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_getIncrementalOutput#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>in case the output has been disabled</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not started</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getInput">
getInput()
<a href="classes/Symfony-Component-Process-Process.html#method_getInput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1108</span>
</aside>
<p class="phpdocumentor-summary">Gets the Process input.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getInput</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">resource|string|<abbr title="\Iterator">Iterator</abbr>|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">resource|string|<abbr title="\Iterator">Iterator</abbr>|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getIterator">
getIterator()
<a href="classes/Symfony-Component-Process-Process.html#method_getIterator" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">610</span>
</aside>
<p class="phpdocumentor-summary">Returns an iterator to the output of the process, with the output type as keys (Process::OUT/ERR).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getIterator</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$flags</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$flags</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
= <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A bit field of Process::ITER_* flags</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_getIterator#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>in case the output has been disabled</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not started</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getLastOutputTime">
getLastOutputTime()
<a href="classes/Symfony-Component-Process-Process.html#method_getLastOutputTime" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">939</span>
</aside>
<p class="phpdocumentor-summary">Gets the last output time in seconds.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getLastOutputTime</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">float|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getOutput">
getOutput()
<a href="classes/Symfony-Component-Process-Process.html#method_getOutput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">568</span>
</aside>
<p class="phpdocumentor-summary">Returns the current output of the process (STDOUT).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getOutput</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_getOutput#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>in case the output has been disabled</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not started</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getPid">
getPid()
<a href="classes/Symfony-Component-Process-Process.html#method_getPid" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">491</span>
</aside>
<p class="phpdocumentor-summary">Returns the Pid (process identifier), if applicable.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getPid</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int|null</span>
&mdash;
<section class="phpdocumentor-description"><p>The process id if running, null otherwise</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getStartTime">
getStartTime()
<a href="classes/Symfony-Component-Process-Process.html#method_getStartTime" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1165</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getStartTime</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_getStartTime#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>in case process is not started</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">float</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getStatus">
getStatus()
<a href="classes/Symfony-Component-Process-Process.html#method_getStatus" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">864</span>
</aside>
<p class="phpdocumentor-summary">Gets the process status.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getStatus</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The status is one of: ready, started, terminated.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getStopSignal">
getStopSignal()
<a href="classes/Symfony-Component-Process-Process.html#method_getStopSignal" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">820</span>
</aside>
<p class="phpdocumentor-summary">Returns the number of the signal that caused the child process to stop its execution.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getStopSignal</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>It is only meaningful if hasBeenStopped() returns true.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_getStopSignal#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not terminated</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getTermSignal">
getTermSignal()
<a href="classes/Symfony-Component-Process-Process.html#method_getTermSignal" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">788</span>
</aside>
<p class="phpdocumentor-summary">Returns the number of the signal that caused the child process to terminate its execution.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getTermSignal</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>It is only meaningful if hasBeenSignaled() returns true.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_getTermSignal#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case --enable-sigchild is activated</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not terminated</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getTimeout">
getTimeout()
<a href="classes/Symfony-Component-Process-Process.html#method_getTimeout" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">955</span>
</aside>
<p class="phpdocumentor-summary">Gets the process timeout in seconds (max. runtime).</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getTimeout</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">float|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getWorkingDirectory">
getWorkingDirectory()
<a href="classes/Symfony-Component-Process-Process.html#method_getWorkingDirectory" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1058</span>
</aside>
<p class="phpdocumentor-summary">Gets the working directory.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getWorkingDirectory</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string|null</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_hasBeenSignaled">
hasBeenSignaled()
<a href="classes/Symfony-Component-Process-Process.html#method_hasBeenSignaled" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">773</span>
</aside>
<p class="phpdocumentor-summary">Returns true if the child process has been terminated by an uncaught signal.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">hasBeenSignaled</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>It always returns false on Windows.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_hasBeenSignaled#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not terminated</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_hasBeenStopped">
hasBeenStopped()
<a href="classes/Symfony-Component-Process-Process.html#method_hasBeenStopped" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">806</span>
</aside>
<p class="phpdocumentor-summary">Returns true if the child process has been stopped by a signal.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">hasBeenStopped</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>It always returns false on Windows.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_hasBeenStopped#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not terminated</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isOutputDisabled">
isOutputDisabled()
<a href="classes/Symfony-Component-Process-Process.html#method_isOutputDisabled" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">557</span>
</aside>
<p class="phpdocumentor-summary">Returns true in case the output is disabled, false otherwise.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isOutputDisabled</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isPty">
isPty()
<a href="classes/Symfony-Component-Process-Process.html#method_isPty" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1050</span>
</aside>
<p class="phpdocumentor-summary">Returns PTY state.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isPty</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_isPtySupported">
isPtySupported()
<a href="classes/Symfony-Component-Process-Process.html#method_isPtySupported" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1217</span>
</aside>
<p class="phpdocumentor-summary">Returns whether PTY is supported on the current operating system.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">isPtySupported</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isRunning">
isRunning()
<a href="classes/Symfony-Component-Process-Process.html#method_isRunning" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">830</span>
</aside>
<p class="phpdocumentor-summary">Checks if the process is currently running.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isRunning</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isStarted">
isStarted()
<a href="classes/Symfony-Component-Process-Process.html#method_isStarted" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">844</span>
</aside>
<p class="phpdocumentor-summary">Checks if the process has been started with no regard to the current state.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isStarted</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isSuccessful">
isSuccessful()
<a href="classes/Symfony-Component-Process-Process.html#method_isSuccessful" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">761</span>
</aside>
<p class="phpdocumentor-summary">Checks if the process ended successfully.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isSuccessful</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isTerminated">
isTerminated()
<a href="classes/Symfony-Component-Process-Process.html#method_isTerminated" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">852</span>
</aside>
<p class="phpdocumentor-summary">Checks if the process is terminated.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isTerminated</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_isTty">
isTty()
<a href="classes/Symfony-Component-Process-Process.html#method_isTty" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1030</span>
</aside>
<p class="phpdocumentor-summary">Checks if the TTY mode is enabled.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">isTty</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_isTtySupported">
isTtySupported()
<a href="classes/Symfony-Component-Process-Process.html#method_isTtySupported" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1203</span>
</aside>
<p class="phpdocumentor-summary">Returns whether TTY is supported on the current operating system.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">isTtySupported</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_mustRun">
mustRun()
<a href="classes/Symfony-Component-Process-Process.html#method_mustRun" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">264</span>
</aside>
<p class="phpdocumentor-summary">Runs the process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">mustRun</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">callable&nbsp;</span><span class="phpdocumentor-signature__argument__name">$callback</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$env</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This is identical to run() except that an exception is thrown if the process
exits with a non-zero exit code.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$callback</span>
: <span class="phpdocumentor-signature__argument__return-type">callable</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$env</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_mustRun#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-ProcessFailedException.html"><abbr title="\Symfony\Component\Process\Exception\ProcessFailedException">ProcessFailedException</abbr></a></span>
<section class="phpdocumentor-description"><p>if the process didn't terminate successfully</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">final</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_restart">
restart()
<a href="classes/Symfony-Component-Process-Process.html#method_restart" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">381</span>
</aside>
<p class="phpdocumentor-summary">Restarts the process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">restart</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">callable|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$callback</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$env</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">static</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Be warned that the process is cloned before being started.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$callback</span>
: <span class="phpdocumentor-signature__argument__return-type">callable|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A PHP callback to run whenever there is some
output available on STDOUT or STDERR</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$env</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_restart#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process can't be launched</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process is already running</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\Symfony\Component\Process\start()">start()</abbr></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">final</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">static</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_run">
run()
<a href="classes/Symfony-Component-Process-Process.html#method_run" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">245</span>
</aside>
<p class="phpdocumentor-summary">Runs the process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">run</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">callable|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$callback</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$env</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The callback receives the type of output (out or err) and
some bytes from the output in real-time. It allows to have feedback
from the independent process during execution.</p>
<p>The STDOUT and STDERR are also available after the process is finished
via the getOutput() and getErrorOutput() methods.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$callback</span>
: <span class="phpdocumentor-signature__argument__return-type">callable|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A PHP callback to run whenever there is some
output available on STDOUT or STDERR</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$env</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_run#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process can't be launched</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process is already running</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-ProcessTimedOutException.html"><abbr title="\Symfony\Component\Process\Exception\ProcessTimedOutException">ProcessTimedOutException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process timed out</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-ProcessSignaledException.html"><abbr title="\Symfony\Component\Process\Exception\ProcessSignaledException">ProcessSignaledException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process stopped after receiving signal</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case a callback is provided and output has been disabled</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">final</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int</span>
&mdash;
<section class="phpdocumentor-description"><p>The exit status code</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setEnv">
setEnv()
<a href="classes/Symfony-Component-Process-Process.html#method_setEnv" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1096</span>
</aside>
<p class="phpdocumentor-summary">Sets the environment variables.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setEnv</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, string|<abbr title="\Stringable">Stringable</abbr>&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$env</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$env</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, string|<abbr title="\Stringable">Stringable</abbr>&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The new environment variables</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setIdleTimeout">
setIdleTimeout()
<a href="classes/Symfony-Component-Process-Process.html#method_setIdleTimeout" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">994</span>
</aside>
<p class="phpdocumentor-summary">Sets the process idle timeout (max. time since last output) in seconds.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setIdleTimeout</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timeout</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>To disable the timeout, set this value to null.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$timeout</span>
: <span class="phpdocumentor-signature__argument__return-type">float|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_setIdleTimeout#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>if the output is disabled</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-InvalidArgumentException.html"><abbr title="\Symfony\Component\Process\Exception\InvalidArgumentException">InvalidArgumentException</abbr></a></span>
<section class="phpdocumentor-description"><p>if the timeout is negative</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setInput">
setInput()
<a href="classes/Symfony-Component-Process-Process.html#method_setInput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1124</span>
</aside>
<p class="phpdocumentor-summary">Sets the input.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setInput</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|int|float|bool|resource|<abbr title="\Traversable">Traversable</abbr>|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$input</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This content will be passed to the underlying process standard input.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$input</span>
: <span class="phpdocumentor-signature__argument__return-type">string|int|float|bool|resource|<abbr title="\Traversable">Traversable</abbr>|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The content</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_setInput#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is running</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setOptions">
setOptions()
<a href="classes/Symfony-Component-Process-Process.html#method_setOptions" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1182</span>
</aside>
<p class="phpdocumentor-summary">Defines options to pass to the underlying proc_open().</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setOptions</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$options</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_setOptions#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://php.net/proc_open">https://php.net/proc_open</a></span>
<section class="phpdocumentor-description"><p>for the options supported by PHP.</p>
<p>Enabling the &quot;create_new_console&quot; option allows a subprocess to continue
to run after the main process exited, on both Windows and *nix</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setPty">
setPty()
<a href="classes/Symfony-Component-Process-Process.html#method_setPty" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1040</span>
</aside>
<p class="phpdocumentor-summary">Sets PTY mode.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setPty</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bool</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$bool</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setTimeout">
setTimeout()
<a href="classes/Symfony-Component-Process-Process.html#method_setTimeout" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">977</span>
</aside>
<p class="phpdocumentor-summary">Sets the process timeout (max. runtime) in seconds.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setTimeout</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timeout</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>To disable the timeout, set this value to null.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$timeout</span>
: <span class="phpdocumentor-signature__argument__return-type">float|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_setTimeout#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-InvalidArgumentException.html"><abbr title="\Symfony\Component\Process\Exception\InvalidArgumentException">InvalidArgumentException</abbr></a></span>
<section class="phpdocumentor-description"><p>if the timeout is negative</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setTty">
setTty()
<a href="classes/Symfony-Component-Process-Process.html#method_setTty" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1012</span>
</aside>
<p class="phpdocumentor-summary">Enables or disables the TTY mode.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setTty</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$tty</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$tty</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_setTty#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the TTY mode is not supported</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setWorkingDirectory">
setWorkingDirectory()
<a href="classes/Symfony-Component-Process-Process.html#method_setWorkingDirectory" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1074</span>
</aside>
<p class="phpdocumentor-summary">Sets the current working directory.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setWorkingDirectory</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cwd</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cwd</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_signal">
signal()
<a href="classes/Symfony-Component-Process-Process.html#method_signal" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">507</span>
</aside>
<p class="phpdocumentor-summary">Sends a POSIX signal to the process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">signal</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$signal</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$signal</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A valid POSIX signal (see https://php.net/pcntl.constants)</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_signal#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not running</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case --enable-sigchild is activated and the process can't be killed</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case of failure</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">$this</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_start">
start()
<a href="classes/Symfony-Component-Process-Process.html#method_start" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">292</span>
</aside>
<p class="phpdocumentor-summary">Starts the process and returns after writing the input to STDIN.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">start</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">callable|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$callback</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$env</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>This method blocks until all STDIN data is sent to the process then it
returns while the process runs in the background.</p>
<p>The termination of the process can be awaited with wait().</p>
<p>The callback receives the type of output (out or err) and some bytes from
the output in real-time while writing the standard input to the process.
It allows to have feedback from the independent process during execution.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$callback</span>
: <span class="phpdocumentor-signature__argument__return-type">callable|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A PHP callback to run whenever there is some
output available on STDOUT or STDERR</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$env</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_start#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process can't be launched</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process is already running</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case a callback is provided and output has been disabled</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_stop">
stop()
<a href="classes/Symfony-Component-Process-Process.html#method_stop" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">879</span>
</aside>
<p class="phpdocumentor-summary">Stops the process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">stop</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">int|float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timeout</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">10</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$signal</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$timeout</span>
: <span class="phpdocumentor-signature__argument__return-type">int|float</span>
= <span class="phpdocumentor-signature__argument__default-value">10</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The timeout in seconds</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$signal</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL (9)</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int|null</span>
&mdash;
<section class="phpdocumentor-description"><p>The exit-code of the process or null if it's not running</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_wait">
wait()
<a href="classes/Symfony-Component-Process-Process.html#method_wait" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">408</span>
</aside>
<p class="phpdocumentor-summary">Waits for the process to terminate.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">wait</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">callable|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$callback</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The callback receives the type of output (out or err) and some bytes
from the output in real-time while writing the standard input to the process.
It allows to have feedback from the independent process during execution.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$callback</span>
: <span class="phpdocumentor-signature__argument__return-type">callable|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A valid PHP callback</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_wait#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-ProcessTimedOutException.html"><abbr title="\Symfony\Component\Process\Exception\ProcessTimedOutException">ProcessTimedOutException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process timed out</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-ProcessSignaledException.html"><abbr title="\Symfony\Component\Process\Exception\ProcessSignaledException">ProcessSignaledException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process stopped after receiving signal</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process is not yet started</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int</span>
&mdash;
<section class="phpdocumentor-description"><p>The exitcode of the process</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_waitUntil">
waitUntil()
<a href="classes/Symfony-Component-Process-Process.html#method_waitUntil" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">451</span>
</aside>
<p class="phpdocumentor-summary">Waits until the callback returns true.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">waitUntil</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">callable&nbsp;</span><span class="phpdocumentor-signature__argument__name">$callback</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The callback receives the type of output (out or err) and some bytes
from the output in real-time while writing the standard input to the process.
It allows to have feedback from the independent process during execution.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$callback</span>
: <span class="phpdocumentor-signature__argument__return-type">callable</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_waitUntil#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process timed out</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>When process is not yet started</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-ProcessTimedOutException.html"><abbr title="\Symfony\Component\Process\Exception\ProcessTimedOutException">ProcessTimedOutException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the timeout was reached</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_buildCallback">
buildCallback()
<a href="classes/Symfony-Component-Process-Process.html#method_buildCallback" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1257</span>
</aside>
<p class="phpdocumentor-summary">Builds up the callback used by wait().</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">buildCallback</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">callable|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$callback</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Closure">Closure</abbr></span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>The callbacks adds all occurred output to the specific buffer and calls
the user callback (if present) with the received output.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$callback</span>
: <span class="phpdocumentor-signature__argument__return-type">callable|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The user defined PHP callback</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><abbr title="\Closure">Closure</abbr></span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_isSigchildEnabled">
isSigchildEnabled()
<a href="classes/Symfony-Component-Process-Process.html#method_isSigchildEnabled" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1306</span>
</aside>
<p class="phpdocumentor-summary">Returns whether PHP has been compiled with the &#039;--enable-sigchild&#039; option or not.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">isSigchildEnabled</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_updateStatus">
updateStatus()
<a href="classes/Symfony-Component-Process-Process.html#method_updateStatus" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1283</span>
</aside>
<p class="phpdocumentor-summary">Updates the status of the process, reads pipes.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">updateStatus</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$blocking</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$blocking</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Whether to use a blocking read call</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_close">
close()
<a href="classes/Symfony-Component-Process-Process.html#method_close" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1384</span>
</aside>
<p class="phpdocumentor-summary">Closes process resource, closes file handles, sets the exitcode.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">close</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int</span>
&mdash;
<section class="phpdocumentor-description"><p>The exitcode</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_doSignal">
doSignal()
<a href="classes/Symfony-Component-Process-Process.html#method_doSignal" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1440</span>
</aside>
<p class="phpdocumentor-summary">Sends a POSIX signal to the process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">doSignal</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$signal</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$throwException</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$signal</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>A valid POSIX signal (see https://php.net/pcntl.constants)</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$throwException</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Whether to throw exception in case signal failed</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_doSignal#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case the process is not running</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case --enable-sigchild is activated and the process can't be killed</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-RuntimeException.html"><abbr title="\Symfony\Component\Process\Exception\RuntimeException">RuntimeException</abbr></a></span>
<section class="phpdocumentor-description"><p>In case of failure</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_escapeArgument">
escapeArgument()
<a href="classes/Symfony-Component-Process-Process.html#method_escapeArgument" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1557</span>
</aside>
<p class="phpdocumentor-summary">Escapes a string to be used as a shell argument.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">escapeArgument</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$argument</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$argument</span>
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_getDefaultEnv">
getDefaultEnv()
<a href="classes/Symfony-Component-Process-Process.html#method_getDefaultEnv" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1587</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">getDefaultEnv</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_getDescriptors">
getDescriptors()
<a href="classes/Symfony-Component-Process-Process.html#method_getDescriptors" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1235</span>
</aside>
<p class="phpdocumentor-summary">Creates the descriptors needed by the proc_open.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">getDescriptors</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_prepareWindowsCommandLine">
prepareWindowsCommandLine()
<a href="classes/Symfony-Component-Process-Process.html#method_prepareWindowsCommandLine" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1484</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">prepareWindowsCommandLine</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$cmd</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$env</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cmd</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$env</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_readPipes">
readPipes()
<a href="classes/Symfony-Component-Process-Process.html#method_readPipes" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1365</span>
</aside>
<p class="phpdocumentor-summary">Reads pipes, executes callback.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">readPipes</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$blocking</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$close</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$blocking</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Whether to use blocking calls or not</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$close</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Whether to close file handles or not</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_readPipesForOutput">
readPipesForOutput()
<a href="classes/Symfony-Component-Process-Process.html#method_readPipesForOutput" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1330</span>
</aside>
<p class="phpdocumentor-summary">Reads pipes for the freshest output.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">readPipesForOutput</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$caller</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$blocking</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$caller</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The name of the method that needs fresh outputs</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$blocking</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Whether to use blocking calls or not</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_readPipesForOutput#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>in case output has been disabled or process is not started</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_replacePlaceholders">
replacePlaceholders()
<a href="classes/Symfony-Component-Process-Process.html#method_replacePlaceholders" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1576</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">replacePlaceholders</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$commandline</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$env</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$commandline</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$env</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_requireProcessIsStarted">
requireProcessIsStarted()
<a href="classes/Symfony-Component-Process-Process.html#method_requireProcessIsStarted" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1535</span>
</aside>
<p class="phpdocumentor-summary">Ensures the process is running or terminated, throws a LogicException if the process has a not started.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">requireProcessIsStarted</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$functionName</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$functionName</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_requireProcessIsStarted#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>if the process has not run</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_requireProcessIsTerminated">
requireProcessIsTerminated()
<a href="classes/Symfony-Component-Process-Process.html#method_requireProcessIsTerminated" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1547</span>
</aside>
<p class="phpdocumentor-summary">Ensures the process is terminated, throws a LogicException if the process has a status different than &quot;terminated&quot;.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">requireProcessIsTerminated</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$functionName</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$functionName</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_requireProcessIsTerminated#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-LogicException.html"><abbr title="\Symfony\Component\Process\Exception\LogicException">LogicException</abbr></a></span>
<section class="phpdocumentor-description"><p>if the process is not yet terminated</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_resetProcessData">
resetProcessData()
<a href="classes/Symfony-Component-Process-Process.html#method_resetProcessData" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1414</span>
</aside>
<p class="phpdocumentor-summary">Resets data related to the latest run of the process.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">resetProcessData</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_validateTimeout">
validateTimeout()
<a href="classes/Symfony-Component-Process-Process.html#method_validateTimeout" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="vendor/symfony/process/Process.php"><a href="files/vendor-symfony-process-process.html"><abbr title="vendor/symfony/process/Process.php">Process.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1346</span>
</aside>
<p class="phpdocumentor-summary">Validates and returns the filtered timeout.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">validateTimeout</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timeout</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float|null</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$timeout</span>
: <span class="phpdocumentor-signature__argument__return-type">float|null</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/Symfony-Component-Process-Process.html#method_validateTimeout#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/Symfony-Component-Process-Exception-InvalidArgumentException.html"><abbr title="\Symfony\Component\Process\Exception\InvalidArgumentException">InvalidArgumentException</abbr></a></span>
<section class="phpdocumentor-description"><p>if the given timeout is a negative number</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">float|null</span>
</section>
</article>
</section>
<div class="phpdocumentor-modal" id="source-view">
<div class="phpdocumentor-modal-bg" data-exit-button></div>
<div class="phpdocumentor-modal-container">
<div class="phpdocumentor-modal-content">
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/vendor/symfony/process/Process.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
</div>
<button data-exit-button class="phpdocumentor-modal__close">&times;</button>
</div>
</div>
<script type="text/javascript">
(function () {
function loadExternalCodeSnippet(el, url, line) {
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
const language = 'php';
const code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
pre.setAttribute('data-line', line)
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState !== 4) {
return;
}
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
return;
}
if (xhr.status === 404) {
code.textContent = '✖ Error: File could not be found';
return;
}
if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
return;
}
code.textContent = '✖ Error: An unknown error occurred';
};
xhr.send(null);
});
}
const modalButtons = document.querySelectorAll("[data-modal]");
const openedAsLocalFile = window.location.protocol === 'file:';
if (modalButtons.length > 0 && openedAsLocalFile) {
console.warn(
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
'browsers block XHR requests when a page is opened this way'
);
}
modalButtons.forEach(function (trigger) {
if (openedAsLocalFile) {
trigger.setAttribute("hidden", "hidden");
}
trigger.addEventListener("click", function (event) {
event.preventDefault();
const modal = document.getElementById(trigger.dataset.modal);
if (!modal) {
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
return;
}
modal.classList.add("phpdocumentor-modal__open");
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
const exits = modal.querySelectorAll("[data-exit-button]");
exits.forEach(function (exit) {
exit.addEventListener("click", function (event) {
event.preventDefault();
modal.classList.remove("phpdocumentor-modal__open");
});
});
});
});
})();
</script>
</article>
</section>
<section class="phpdocumentor-on-this-page__sidebar">
<section class="phpdocumentor-on-this-page__content">
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
<ul class="phpdocumentor-list -clean">
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/Symfony-Component-Process-Process.html#toc-constants">Constants</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#toc-properties">Properties</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#toc-methods">Methods</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Constants</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/Symfony-Component-Process-Process.html#constant_ERR">ERR</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_ITER_KEEP_OUTPUT">ITER_KEEP_OUTPUT</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_ITER_NON_BLOCKING">ITER_NON_BLOCKING</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_ITER_SKIP_ERR">ITER_SKIP_ERR</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_ITER_SKIP_OUT">ITER_SKIP_OUT</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_OUT">OUT</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_STATUS_READY">STATUS_READY</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_STATUS_STARTED">STATUS_STARTED</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_STATUS_TERMINATED">STATUS_TERMINATED</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_STDERR">STDERR</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_STDIN">STDIN</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_STDOUT">STDOUT</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#constant_TIMEOUT_PRECISION">TIMEOUT_PRECISION</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/Symfony-Component-Process-Process.html#property_exitCodes">$exitCodes<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_callback">$callback<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_commandline">$commandline<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_cwd">$cwd<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_env">$env<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_exitcode">$exitcode<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_fallbackStatus">$fallbackStatus<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_hasCallback">$hasCallback<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_idleTimeout">$idleTimeout<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_incrementalErrorOutputOffset">$incrementalErrorOutputOffset<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_incrementalOutputOffset">$incrementalOutputOffset<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_input">$input<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_lastOutputTime">$lastOutputTime<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_latestSignal">$latestSignal<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_options">$options<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_outputDisabled">$outputDisabled<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_process">$process<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_processInformation">$processInformation<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_processPipes">$processPipes<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_pty">$pty<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_sigchild">$sigchild<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_starttime">$starttime<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_status">$status<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_stderr">$stderr<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_stdout">$stdout<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_timeout">$timeout<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_tty">$tty<a href="classes/Symfony-Component-Process-Process.html"></li>
<li><a href="classes/Symfony-Component-Process-Process.html#property_useFileHandles">$useFileHandles<a href="classes/Symfony-Component-Process-Process.html"></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/Symfony-Component-Process-Process.html#method___clone">__clone()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method___construct">__construct()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method___destruct">__destruct()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method___sleep">__sleep()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method___wakeup">__wakeup()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_checkTimeout">checkTimeout()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_clearErrorOutput">clearErrorOutput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_clearOutput">clearOutput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_disableOutput">disableOutput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_enableOutput">enableOutput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_fromShellCommandline">fromShellCommandline()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getCommandLine">getCommandLine()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getEnv">getEnv()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getErrorOutput">getErrorOutput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getExitCode">getExitCode()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getExitCodeText">getExitCodeText()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getIdleTimeout">getIdleTimeout()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getIncrementalErrorOutput">getIncrementalErrorOutput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getIncrementalOutput">getIncrementalOutput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getInput">getInput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getIterator">getIterator()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getLastOutputTime">getLastOutputTime()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getOutput">getOutput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getPid">getPid()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getStartTime">getStartTime()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getStatus">getStatus()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getStopSignal">getStopSignal()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getTermSignal">getTermSignal()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getTimeout">getTimeout()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getWorkingDirectory">getWorkingDirectory()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_hasBeenSignaled">hasBeenSignaled()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_hasBeenStopped">hasBeenStopped()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isOutputDisabled">isOutputDisabled()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isPty">isPty()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isPtySupported">isPtySupported()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isRunning">isRunning()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isStarted">isStarted()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isSuccessful">isSuccessful()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isTerminated">isTerminated()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isTty">isTty()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isTtySupported">isTtySupported()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_mustRun">mustRun()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_restart">restart()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_run">run()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_setEnv">setEnv()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_setIdleTimeout">setIdleTimeout()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_setInput">setInput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_setOptions">setOptions()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_setPty">setPty()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_setTimeout">setTimeout()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_setTty">setTty()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_setWorkingDirectory">setWorkingDirectory()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_signal">signal()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_start">start()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_stop">stop()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_wait">wait()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_waitUntil">waitUntil()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_buildCallback">buildCallback()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_isSigchildEnabled">isSigchildEnabled()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_updateStatus">updateStatus()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_close">close()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_doSignal">doSignal()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_escapeArgument">escapeArgument()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getDefaultEnv">getDefaultEnv()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_getDescriptors">getDescriptors()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_prepareWindowsCommandLine">prepareWindowsCommandLine()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_readPipes">readPipes()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_readPipesForOutput">readPipesForOutput()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_replacePlaceholders">replacePlaceholders()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_requireProcessIsStarted">requireProcessIsStarted()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_requireProcessIsTerminated">requireProcessIsTerminated()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_resetProcessData">resetProcessData()</a></li>
<li><a href="classes/Symfony-Component-Process-Process.html#method_validateTimeout">validateTimeout()</a></li>
</ul>
</li>
</ul>
</section>
</section>
</div>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
<a href="classes/Symfony-Component-Process-Process.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>