Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artisan serve exit code #23660

Closed
BMacster opened this issue Mar 22, 2018 · 0 comments
Closed

artisan serve exit code #23660

BMacster opened this issue Mar 22, 2018 · 0 comments

Comments

@BMacster
Copy link

BMacster commented Mar 22, 2018

Description:

Artisan seems to ignore exit codes. A forced error always returns zero.
Attempting to write an actual sysv init wrapper.

Steps To Reproduce:

Do something zany and nutty like try to bind to port 98080 or pass invalid switches, as far as php is concerned it exits clean even though there was an issue.
php artisan serve --host=0.0.0.0 --port=98080 ; echo $?
Laravel development server started: <http://0.0.0.0:98080>
Invalid address: 0.0.0.0:98080
0

  • Laravel Version: 5.5.32
  • PHP Version: 7.1.11
  • Database Driver & Version:

I did notice this: #560 Not sure if related or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant