/**
  * {@inheritdoc}
  */
 public function save(EnvironmentVariable $environmentVariable)
 {
     $command = 'echo "' . $environmentVariable->getName() . '=' . $environmentVariable->getValue() . '" >> ' . $this->file;
     $process = new Process($command);
     $this->processRunner->run($process);
 }
 /**
  * {@inheritdoc}
  */
 public function save(EnvironmentVariable $environmentVariable)
 {
     exec('set -g -x ' . $environmentVariable->getName() . ' ' . $environmentVariable->getValue());
 }