public function envTest()
 {
     $command = new Command();
     $command->exec("echo \$CULLY_TEST_VARIABLE", null, ["CULLY_TEST_VARIABLE" => "works"]);
     $this->assertEquals("works", $command->getOutput());
 }
Example #2
0
 private function removeLocalFile($filePath)
 {
     $command = new Local\Command();
     $command->exec("rm " . escapeshellarg($filePath));
 }