Skip to content

Infer .cmd and .ps1 extensions during uv run #9151

@zanieb

Description

@zanieb

As discussed in #8770

If the user provides uv run foo and foo.cmd or foo.ps1 exists we should invoke it unless foo.exe exists.

This is a little questionable, i.e., should we apply this to everything in the PATH? Or just the virtual environment Scripts directory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContribution especially encouragedwindowsSpecific to the Windows platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions