Skip to content

ask_to_run should read/write /dev/tty, not stdin/stdout #420

@zackw

Description

@zackw

ask_to_run is asking the user a question, therefore it should read and writing from /dev/tty rather than stdin/stdout, which may be redirected.

If opening /dev/tty fails, that should trigger --noninteractive mode (see #419).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions