askpass

package module
v0.0.0-...-23d2875 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2020 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Askpass

func Askpass(prompt string, verify bool) (string, error)

Askpass prompts user for an interactive password. If verify is true, confirm 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