Reputation: 4896
I am using Laravel 5 on windows cmd prompt.
I have very simple issue
php artisan serve
to start the server , My command prompt is stuck and I am not able to execute any other artisan command until I close the command line and then restart it and then execute the code and then start the laravel server.
Is there any easy way?
Upvotes: 4
Views: 7999
Reputation: 4043
Use a second cmd
prompt.
Or use a terminal emulator which supports multiple tabs. I don't know if Windows cmd
supports the send to background execution command, like the &
of the Unix sh
.
If it is available, you should be able to run the serve
in background and have your prompt ready for other commands. Under sh
I would do
$ php artisan serve &
but I usually don't send to background so that I can kill it easily.
I would definitely go for two terminals.
Upvotes: 5