You are here

public function Process::setCommandLine in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::setCommandLine()

Sets the command line to be executed.

Parameters

string $commandline The command to execute:

Return value

self The current Process instance

1 call to Process::setCommandLine()
PhpProcess::setPhpBinary in vendor/symfony/process/PhpProcess.php
Sets the path to the PHP binary to use.

File

vendor/symfony/process/Process.php, line 846

Class

Process
Process is a thin wrapper around proc_* functions to easily start independent PHP processes.

Namespace

Symfony\Component\Process

Code

public function setCommandLine($commandline) {
  $this->commandline = $commandline;
  return $this;
}