Skip to content

Commit 8143b1d

Browse files
committed
fix 60s timeout
1 parent d275a44 commit 8143b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/command/CraftCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private function runCommand(string $cmd, ...$args): int
143143
}
144144
$prefix = PHP_SAPI === 'cli' ? [PHP_BINARY, $argv[0]] : [$argv[0]];
145145

146-
$process = new Process([...$prefix, $cmd, '--no-motd', ...$args]);
146+
$process = new Process([...$prefix, $cmd, '--no-motd', ...$args], timeout: null);
147147
$this->log("Running: {$process->getCommandLine()}", true);
148148

149149
if (PHP_OS_FAMILY === 'Windows') {

0 commit comments

Comments
 (0)