Skip to content

Commit

Permalink
[5.x] Fix timeout on slow Composer commands (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Oct 24, 2024
1 parent 4e59c96 commit f8e279f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/RunsCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected function runCommands(array $commands, ?string $workingPath = null, boo
}, $commands);
}

$process = Process::fromShellCommandline(implode(' && ', $commands), $workingPath);
$process = Process::fromShellCommandline(implode(' && ', $commands), $workingPath, timeout: null);

if ('\\' !== DIRECTORY_SEPARATOR && file_exists('/dev/tty') && is_readable('/dev/tty')) {
try {
Expand Down

0 comments on commit f8e279f

Please sign in to comment.