Re: Fix run_erl daemonizing on some platforms
Fredrik <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <[email protected]> |
On 07/05/2013 04:47 PM, Johannes Weißl wrote: > Hello, > > On our embedded system "run_erl" does not work when used with the > "-daemon" option (the logs show "Cannot dup"). I noticed that unlike > erlexec and epmd, run_erl does not redirect the standard streams to > /dev/null after closing them. > > This patch adds the redirection to /dev/null, which fixes the problem. > > git fetch git://github.com/weisslj/otp.git run-erl-redirect-dev-null > > https://github.com/weisslj/otp/compare/erlang:maint...run-erl-redirect-dev-null > https://github.com/weisslj/otp/compare/erlang:maint...run-erl-redirect-dev-null.patch > > Greetings, > > Johannes Weißl > _______________________________________________ > erlang-patches mailing list > [email protected] > http://erlang.org/mailman/listinfo/erlang-patches Hello Johannes, I've created a pull request on github and some initial tests will be done on the patch before the responsible team will look at it. Thanks, -- BR Fredrik Gustafsson Erlang OTP Team _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches