Skip to content

Expose --askpass executable arg to use instead of stdin #623

@MichalPetryka

Description

@MichalPetryka

What problem is this feature trying to solve?

Wrapping the command-line with an UI is problematic today due to the downloader asking for input on STDIN.

How would you like it to be solved?

Exposing an option to provide an exe that asks for input instead and writes that to its STDOUT like git and ssh support today under the name askpass.
They pass the question asked to the user as the 1st commandline arg to the process.

Have you considered any alternative solutions

Using OS provided dialog options but that'd require more work here, be less portable and less integrated with wrapping UI.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions