Paket icon indicating copy to clipboard operation
Paket copied to clipboard

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

Open mbodm opened this issue 2 years ago • 0 comments

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

mbodm avatar Jul 05 '23 08:07 mbodm