public function Process::setCommandLine

Sets the command line to be executed.

Parameters

string $commandline The command to execute:

Return value

self The current Process instance

2 calls to Process::setCommandLine()
PhpProcess::setPhpBinary in drupal/core/vendor/symfony/process/Symfony/Component/Process/PhpProcess.php
Sets the path to the PHP binary to use.
PhpProcess::start in drupal/core/vendor/symfony/process/Symfony/Component/Process/PhpProcess.php
Starts the process and returns after sending the STDIN.

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php, line 830

Class

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

Namespace

Symfony\Component\Process

Code

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