You are here

public function ProcessBuilder::setWorkingDirectory in Zircon Profile 8

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

Sets the working directory.

Parameters

null|string $cwd The working directory:

Return value

ProcessBuilder

File

vendor/symfony/process/ProcessBuilder.php, line 110

Class

ProcessBuilder
Process builder.

Namespace

Symfony\Component\Process

Code

public function setWorkingDirectory($cwd) {
  $this->cwd = $cwd;
  return $this;
}