Skip to content

os/exec: document lack of shell expansion more #20894

@bradfitz

Description

@bradfitz

It's becoming a FAQ that people expect os/exec to expand '*' etc like the shell. (#20893 and a number more)

Many scripting languages provide such APIs (often by default), even though they're easy to misuse security-wise.

Let's document that os/exec requires explicit shell invocation or explicit globbing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions