[erlang-questions] Issues with stdin on ports

Max Lapshin max.lapshin@REDACTED
Wed Jul 31 11:20:13 CEST 2013


I have a ffmpeg-like program that is launched by erlang server and it is 
very busy doing its job.

Sometimes erlang server can decide to kill it.

I have implemented it so: there is a second thread that is reading stdin. 
If stdin is closed, this thread immediately calls _exit()

Such approach works good but it requires modification of program.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130731/60e5521a/attachment.htm>


More information about the erlang-questions mailing list