OptionParser nnow prints password prompt to STDERR - issue 1290911

This commit is contained in:
Frank Cizmich
2014-05-24 18:36:33 -03:00
parent 72fab9ad8f
commit eeedabfc14
28 changed files with 56 additions and 27 deletions

View File

@@ -867,7 +867,7 @@ sub prompt_noecho {
shift @_ if ref $_[0] eq __PACKAGE__;
my ( $prompt ) = @_;
local $OUTPUT_AUTOFLUSH = 1;
print $prompt
print STDERR $prompt
or die "Cannot print: $OS_ERROR";
my $response;
eval {