I have an Erlang program meant to be run using escript: When I run escript myscript.erl 123 456, this is printed: This is good, but where is the ...
I have an Erlang program meant to be run using escript: When I run escript myscript.erl 123 456, this is printed: This is good, but where is the ...
I'm writing a CLI in elixir, how can I prompt the user for a password, without displaying the input in the terminal? ...
Source file: Inside shell: I want to write a echo server, but when I quit erlang shell, the error_logger is warning badmatch, but the client pro ...
In Tsung, I want publish message time in milisec, I tried below but able to get time in Sec only. ...
I have a service that is in Erlang. I am trying to connect to the service. However sometimes the connection creation gets timed out. I believe this mi ...
I have created a small test application and when on a linux machine I would like to see the messages that appear on the erlang shell to appear on the ...
What's the best way to convert a list such as [[1,2,3],[a,b,c],[4,5,6]] to a list of tuples like this: where tuple N is composed of the Nth element ...
I have a program that starts the application and then adds (children) workers to a supervisor. Obviously after doing only that it has nothing more lef ...
I have the following Erlang code: I run this with: excript rmq.erl This code doesn't work. Looks like spawn doesn't work. Rest of my code works, ...
What is the command line options to use Erlang etop to dump Erlang program information to a file? If this cannot be done in command line, can it be do ...
Quick 1 liner: How does one start an OTP application and pass command-line args to it? I wanted be able to start an OTP application in a generic "UNI ...
When I try to set a relative code path in a escript with -pz like this The path is interpreted relative to the directory from where I run the escri ...
I am using ejabberd in one of my project, which is itself implemented in erlang. I am interested in gaining access to the authentication flow, so that ...
I don't really understand how command line arguments work with escripts. From the manpage, I understand that the arguments are passed as a list of str ...
I have an escript file which runs fine from the command line, i.e.: It is meant to be cron friendly and all paths are explicit but when I run it, i ...