askpass

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2024 License: LGPL-3.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Askpass

func Askpass(prompt string, confirm bool, confirmPrompt string) (string, error)

Askpass prompts user for an interactive password. If confirm is true, confirms a second time. Mistakes during confirmation cause the process to restart upto a maximum of 2 times. We will try to use one of GUI askpass programs (in Linux/Unix) If none were found, will prompt in standard input If standard input is redirected, will open a new tty for reading password

func RunCommand3

func RunCommand3(name string, args ...string) (stdout string, stderr string, exitCode int)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL