mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
fix 60s timeout
This commit is contained in:
parent
d275a44895
commit
8143b1d768
@ -143,7 +143,7 @@ class CraftCommand extends BaseCommand
|
|||||||
}
|
}
|
||||||
$prefix = PHP_SAPI === 'cli' ? [PHP_BINARY, $argv[0]] : [$argv[0]];
|
$prefix = PHP_SAPI === 'cli' ? [PHP_BINARY, $argv[0]] : [$argv[0]];
|
||||||
|
|
||||||
$process = new Process([...$prefix, $cmd, '--no-motd', ...$args]);
|
$process = new Process([...$prefix, $cmd, '--no-motd', ...$args], timeout: null);
|
||||||
$this->log("Running: {$process->getCommandLine()}", true);
|
$this->log("Running: {$process->getCommandLine()}", true);
|
||||||
|
|
||||||
if (PHP_OS_FAMILY === 'Windows') {
|
if (PHP_OS_FAMILY === 'Windows') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user