Skip to content

Commit

Permalink
removed whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Oct 9, 2013
1 parent 2ab8127 commit c7e4d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,14 +305,14 @@ public function wait($callback = null)
if (null !== $callback) {
$this->callback = $this->buildCallback($callback);
}

do {
$this->checkTimeout();
$running = defined('PHP_WINDOWS_VERSION_BUILD') ? $this->isRunning() : $this->processPipes->hasOpenHandles();
$close = !defined('PHP_WINDOWS_VERSION_BUILD') || !$running;;
$this->readPipes(true, $close);
} while ($running);

while ($this->isRunning()) {
usleep(1000);
}
Expand Down Expand Up @@ -963,7 +963,7 @@ private function readPipes($blocking, $close)
} else {
$result = $this->processPipes->read($blocking);
}

foreach ($result as $type => $data) {
if (3 == $type) {
$this->fallbackExitcode = (int) $data;
Expand Down

0 comments on commit c7e4d13

Please sign in to comment.