Skip to content

Commit

Permalink
don't use temporary file on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Mar 26, 2024
1 parent b29443f commit d4d9958
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Util/PHP/AbstractPhpProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ public function getCommand(array $settings, ?string $file = null): array
}

if ($file) {
$command[] = '-f';
$command[] = $file;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Util/PHP/WindowsPhpProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ protected function getHandles(): array

protected function useTemporaryFile(): bool
{
return true;
return false;
}
}

0 comments on commit d4d9958

Please sign in to comment.