diff --git a/src/Indatus/Dispatcher/Services/CommandService.php b/src/Indatus/Dispatcher/Services/CommandService.php index 2aad7e7..ddb7588 100644 --- a/src/Indatus/Dispatcher/Services/CommandService.php +++ b/src/Indatus/Dispatcher/Services/CommandService.php @@ -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'); diff --git a/tests/Services/TestCommandService.php b/tests/Services/TestCommandService.php index 7d82b2f..251f627 100644 --- a/tests/Services/TestCommandService.php +++ b/tests/Services/TestCommandService.php @@ -308,7 +308,7 @@ public function testGetRunCommandWindows() base_path().'/artisan', $commandName, '--env='.App::environment(), - '> NULL' + '> NUL' ))); }