[Windows] `laravel dev` hangs PowerShell and triggers repeated `Terminate batch job (Y/N)?` prompts on `Ctrl+C`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 57/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, node.js, rust
Research direction
Start by tracing how laravel dev launches concurrently and its server, queue, and Vite child processes on Windows. Reproduce the shutdown in PowerShell and Command Prompt, then inspect the process launch and signal handling paths. Done means Ctrl+C stops all processes and returns to the shell without a frozen terminal or repeated batch-job prompts.
Written by the indexing model from the issue text.
Description
Environment
- OS: Windows 11
- Laravel CLI Version: 0.5.0
- Shells tested: PowerShell 5, PowerShell 7, and Command Prompt
- Project type: Laravel for Rust (
laravel/rust) - Command:
laravel dev
Steps to reproduce
- Run
laravel devin a Laravel for Rust project on Windows. - Wait until the server, queue worker, and Vite are running.
- Press
Ctrl+Cto stop the processes.
Actual behavior
- In PowerShell 5 and PowerShell 7, the terminal becomes unresponsive during shutdown.
- In Command Prompt, repeated
Terminate batch job (Y/N)?prompts appear for Vite, the server, and the queue worker. The processes eventually exit, but stopping requires additional input (Ctrl+C,Enter,Enter,Y,Enter,Enter). A furtherTerminate batch job (Y/N)?prompt may appear after the process output.
Expected behavior
Pressing Ctrl+C should stop the server, queue worker, Vite, and their child processes cleanly, then return to the shell prompt without repeated batch-job confirmations or a frozen terminal.
Relevant output
laravel dev starts:
concurrently --kill-others --names server,queue,vite ...
On shutdown:
[server] Stopping. Waiting up to 20s for the work in progress.
Terminate batch job (Y/N)?
[vite] Terminate batch job (Y/N)?
[server] Terminate batch job (Y/N)?
[queue] Terminate batch job (Y/N)?
The processes then report exit code 1 and concurrently sends SIGTERM to the other processes.
- Dominant language
- Rust
- Stars
- 2.2k
- Forks
- 105
- Avg merge
- 7h 19m
- Merged PRs (30d)
- 41
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from laravel/rust
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
laravel/rust#98 · 8 comments · 10 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
neuralmagic/crucible#579 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
laravel/rust-framework#864 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
eclipse-score/kyron#249 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
seanmonstar/reqwest#3157 ·
Maintainers usually reply within 2 days