fix: do not escape env vars
This commit is contained in:
@@ -57,7 +57,7 @@ final class Command implements Stringable
|
||||
|
||||
public function env(string $var, string|Stringable $value): static
|
||||
{
|
||||
$this->envs[$var] = escapeshellarg((string) $value);
|
||||
$this->envs[$var] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ final class Command implements Stringable
|
||||
public function envs(array $envs): static
|
||||
{
|
||||
foreach ($envs as $var => $value) {
|
||||
$this->envs[$var] = escapeshellarg((string) $value);
|
||||
$this->envs[$var] = $value;
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user