[erlang-questions] Issues with stdin on ports
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...
More information about the erlang-questions