Skip to content

Make /bug open GitHub correctly on Windows #20

Description

@amoreX

/bug uses open on macOS and xdg-open everywhere else. Native Windows therefore attempts to execute xdg-open.

Acceptance criteria

• macOS uses open.
• Linux uses xdg-open.
• Windows uses start, PowerShell, or another safe native mechanism.
• Arguments must not be vulnerable to shell injection.
• If opening fails, keep displaying the issue URL.
• Add platform-selection tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions