Process::fromShellCommandline()
to run commands in a shell wrapperProcess
instanceProcess::setCommandline()
and the PhpProcess::setPhpBinary()
methodsProcess::waitUntil()
method to wait for the process only for a
specific output, then continue the normal execution of your applicationProcess::isTtySupported()
method that allows to check for TTY supportPhpExecutableFinder
look for the PHP_BINARY
env var when searching the php binaryProcessSignaledException
class to properly catch signaled process errorsarray $env = []
argument to the start()
, run()
,
mustRun()
, and restart()
methods of the Process
classarray $env = []
argument to the start()
method of the
PhpProcess
classProcessUtils::escapeArgument()
method has been removedareEnvironmentVariablesInherited()
, getOptions()
, and setOptions()
methods of the Process
class have been removedproc_open()
options has been removedProcessBuilder
class, use the Process
class insteadgetEnhanceWindowsCompatibility()
and setEnhanceWindowsCompatibility()
methods of the Process
classSymfony\Component\Process\Process
class is not
supported anymoreProcess::start()
without setting a valid working directory beforehand (via setWorkingDirectory()
or constructor)Process
class$env
argument to Process::start()
, run()
, mustRun()
and restart()
methodsProcessUtils::escapeArgument()
methodproc_open()
options