[erlang-questions] Getting a password from escript / I/O server introduction
Thu Nov 24 23:23:09 CET 2011
It does not work from escript!
According to Bjorn a few years ago its because escript uses the old io server.
On Thu, Nov 24, 2011 at 2:30 PM, Joe Armstrong <erlang@REDACTED> wrote:
> The undocumented io:get_password() might do what you want.
>> X = io:get_password().
> Sees to work - I've no idea why it's not documented.
> On Wed, Nov 23, 2011 at 11:12 PM, Alex Shneyderman <a.shneyderman@REDACTED>
>> > (On a related note, it seems that it's impossible to get user input
>> > without echoing anything to the screen.)
>> I use io:get_line("") for echo-less prompt.
>> erlang-questions mailing list
> erlang-questions mailing list
More information about the erlang-questions