Skip to content

Commit

Permalink
Do not timeout child processes (fixes #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Jul 9, 2014
1 parent 6e53bd8 commit 05d12cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Clue/PharComposer/Packager.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ public function exec($cmd, $chdir = null)
$output = $this->output;

$process = new Process($cmd, $chdir);
$process->setTimeout(null);
$process->start();
$code = $process->wait(function($type, $data) use ($output, &$ok, &$nl) {
if ($nl === true) {
Expand Down

0 comments on commit 05d12cd

Please sign in to comment.