Re: [elixir-core:11234] Ports communication through IPC

2023-01-03 Thread José Valim
IIRC it is a relatively recent features. You should reach out to the Erlang team on erlangforum.com. On Mon, Jan 2, 2023 at 17:37 Willian Frantz wrote: > Just realized that BEAM supports communication with external processes > using Named Pipes through Ports. > > ``` > terminal> mkfifo name.pipe

[elixir-core:11234] Ports communication through IPC

2023-01-02 Thread Willian Frantz
Just realized that BEAM supports communication with external processes using Named Pipes through Ports. ``` terminal> mkfifo name.pipe iex> pid = Port.open('name.pipe', [:eof]) iex> Port.command(pid, "Sending data through a pipe to whoever is listening to...\n") ``` I was testing and trying to