Skip to content

Commit

Permalink
Merge pull request #129 from cantecim/1.4
Browse files Browse the repository at this point in the history
On windows output should be redirected to NUL
  • Loading branch information
bkuhl committed Mar 26, 2015
2 parents 069c3af + 63fddf0 commit e406351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Indatus/Dispatcher/Services/CommandService.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public function getRunCommand(
array_unshift($commandPieces, 'sudo -u '.$scheduledCommand->user());
}
} elseif($platform->isWindows()) {
$commandPieces[] = '> NULL'; //don't show output, errors can be viewed in the Laravel log
$commandPieces[] = '> NUL'; //don't show output, errors can be viewed in the Laravel log

//run in background on windows
array_unshift($commandPieces, '/B');
Expand Down
2 changes: 1 addition & 1 deletion tests/Services/TestCommandService.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public function testGetRunCommandWindows()
base_path().'/artisan',
$commandName,
'--env='.App::environment(),
'> NULL'
'> NUL'
)));
}

Expand Down

0 comments on commit e406351

Please sign in to comment.