fsprojects / fsprojects/Paket

`paket.exe` never returns (even when just using `paket.exe --version`)

Open
#4,216 0 comments 0 reactions 0 assignees View on GitHub

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 --version started in a cmd.exe console. Missing console prompt shows that paket.exe not returns.
  • Screenshot 2:
    paket.exe started without any argument in a cmd.exe console. Missing console prompt shows that paket.exe not returns.

NoReturn1
NoReturn2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.