Fix run_erl daemonizing on some platforms
Johannes Weißl <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <[email protected]> |
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