Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Process/ProcessHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use function is_bool;
use function php_ini_loaded_file;
use function sprintf;
use function sys_get_temp_dir;
use const PHP_BINARY;

final class ProcessHelper
Expand All @@ -32,6 +33,8 @@ public static function getWorkerCommand(

$processCommandArray = [
$phpCmd,
'-d',
'sys_temp_dir=' . escapeshellarg(sys_get_temp_dir()),
];

if ($input->getOption('memory-limit') === null) {
Expand Down
Loading