<p dir="ltr"></p>
<p dir="ltr">On 25 Nov 2016 3:53 a.m., "Vans S" <<a href="mailto:vans_163@yahoo.com">vans_163@yahoo.com</a>> wrote:<br>
><br>
> So far if I use open_port({spawn, Params}, [stderr_to_stdout, exit_status]) to create an OS process, if the erlang process that created it dies, the os process stays alive.  I want the os process to die with the erlang process, often this is the case if the process reads stdin.<br>
><br>
> Currently this process does not read stdin and it does not die when the erlang process dies.<br>
><br>
> Any ideas how to do this?</p>
<p dir="ltr">erlexec[1] might be what you're looking for.</p>
<p dir="ltr">[1]: <a href="https://github.com/saleyn/erlexec">https://github.com/saleyn/erlexec</a><br></p>
<p dir="ltr">> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br></p>