Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Chocolatey behaves strange after ctrl+c #608

Closed
thigg opened this issue Nov 9, 2014 · 3 comments
Closed

Chocolatey behaves strange after ctrl+c #608

thigg opened this issue Nov 9, 2014 · 3 comments

Comments

@thigg
Copy link

thigg commented Nov 9, 2014

After aborting one chocolatey command with ctrl+c, the shell session seems to be broken. Everytime one launches a chocolatey command afterwards you get a message if you would like to abort.

There should be at least a message that one should not abort commands via ctrl+c.
(But it's quite useful during package creation)

@aronovgj
Copy link

aronovgj commented Jan 2, 2015

ctrl+c works for me if i do it several times in a row.

@ferventcoder
Copy link
Contributor

That is a command/batch issue and will not exist in the new compiled version of choco. It's an annoyance at best, but it is an issue with using batch files. The underlying process gets orphaned, but it still knows about it, so it keeps asking if you want to terminate the process.

You can observe this behavior by pulling up Process Explorer (Sysinternals)

@ferventcoder
Copy link
Contributor

Other tools that use .cmd/.bat files that call out to executables will display this same behavior.

I'm closing this as a non-issue. A message would be good, but this issue should not exist in the new version of choco.exe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants