Skip to content

Use executable shim launchers for binaries/scripts provided by packages instead of batch/powershell scripts #8914

@segevfiner

Description

@segevfiner

On Windows, the batch scripts used to launch installed binaries/scripts from packages result in the annoying "Terminate batch job [Y/N]" prompt whenever you hit Ctrl-C on one. Due to this, other scripts languages like Python, and Windows package mangers like scoop choose to instead generate shim launcher executables for such installed scripts so as to avoid this issue, and others related to PATHEXT priorities and so on.

It would be nice if npm implements this as well (And probably the other package managers pnpm, yarn might follow suit if it does).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions