`paket.exe` never returns (even when just using `paket.exe --version`)
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Hey,
I opened the https://github.com/fsprojects/Paket/issues/4215 issue, but now it seems to me (at least on my Windows 11 machine -> see used environment below) the paket.exe not returns. Never. No matter what command or option i use.
Even a simple paket.exe --version just not returns. The console cursor is still visible, but the paket.exe not exits. Also a CTRL+C or CTRL+X has no effect and not ends the process.
Repro steps
- Use given environment (see below)
- Start
cmd.exe(you can also use PS or Windows Terminal, the effect stays the same) - Type
paket.exe --version
Actual behavior
The version is printed, but the paket.exe not returns. Even CTRL+C (STRG+C in Germany) or CTRL+X (STRG+X in Germany) has no effect. The only option left is to close the console window (the started cmd.exe window).
Expected behavior
When paket.exe finishes it should exit and therefore give control back to the terminal which started paket.exe application.
Used environment
- Output of
paket.exe --version: Paket version 7.2.1+8e4eb74b42fbd45f39f7afce9184c16ebb65f16c - Windows 11 Pro Version 22H2 Build 22621.1848
Attached screenshots
- Screenshot 1:
paket.exe --versionstarted in acmd.execonsole. Missing console prompt shows thatpaket.exenot returns. - Screenshot 2:
paket.exestarted without any argument in acmd.execonsole. Missing console prompt shows thatpaket.exenot returns.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reproducing paket.exe --version and the no-argument invocation in cmd.exe on the reported Windows 11 environment. Trace the Paket CLI entry point and its shutdown path; done means both commands print their output, exit reliably, and return control to the terminal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100