[erlang-questions] Port process exits with status einval while external program still runs

Khitai Pang khitai.pang@REDACTED
Sat May 27 17:42:59 CEST 2017


The port is opened with {packet, 2}, I'm guessing that the data sent to 
the port is too big and it's size can't fit in a two-byte integer.

Thanks
Khitai

On 2017/5/27 23:31, Khitai Pang wrote:
> I have observed a situation where the port process exits with reason
> 'einval' but the external program still runs.  The connected process of
> the port receives {EXIT,#Port<0.3069817>,einval}.  What makes a port
> process exit with 'einval' while the external program still runs?
>
>
> Thanks
> Khitai
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list