Skip to content

Is there a way to disable the browser open behavior? #160

Description

@zanieb

Background

Over in uv, we need to invoke interpreters when discovering them on the system. We have a report at astral-sh/uv#15707 that running a command that discovers interpreters (e.g., uv python list) opens their browser.

Details

I'm a little wary of this behavior in general and maybe there should be heuristics about whether this is appropriate. The smallest change would probably be to add an environment variable uv could set at query-time to disable this?

I briefly looked at the documentation and didn't see anything about configuring this, but I didn't poke around the source code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions