Junie: How to cancel command in Junie's terminal?
已回答
Sometimes Junie will execute something in its terminal window that hangs. It seems there is no way to ^c or something that process, or to indicate to Junie to kill it. Junie is then hung and can't continue.
请先登录再写评论。
Also, you can cancel the step by clicking cancel.
This doesn't help… I can Cancel the step but if Junie runs a command that e.g. starts a server I have no easy way to kill that process (can't terminate using CTRL+C) so it's stuck there e.g. blocking the port.
I have the same issue. In my case, Junie executed npm run dev (which is totally fine) but wasn't able to execute any commands afterwards and I couldn't find a way to kill the npm process. Using Windows 11.
Here I have example of a command that awaiting input.
Any subsequent commands refuse to run, while I cannot cancel execution or provide input
Junie is now obsessed with starting servers that it cannot control, the terminal gets stuck in running that and there is no obvious way to stop the process. Sometimes I have to quit the whole IDE to kill it.
There should be an easy way to stop whatever process Junie starts in the terminal.
Please fix it.
I've encountered the same problem. Junie wants to start an API server to test it, and it begins as expected, but it just hangs here until it either times out or I cancel the step (which was not intended). By coincidence or frustration, I pressed CTRL+SHIFT+C (Windows), and Junie continued. It might be pure luck, and I haven't had the chance to test it again, but I thought I would share it anyway.
Same issue here: npm run server is running in Junie terminal with no ability to stop it.
This needs fixing.
Either “cancel step” should terminate whatever is running in the terminal, or at least allow the user to ctrl+c in that terminal.
I've found a workaround by pressing <Ctrl>+<Z> which suspends the process giving it's pid, then you can kill it, but this is weird
Pure fluke, but CTL+ALT+C worked for me on Linux.
Needs fixing please