ACK. Fixes the "OpenVPN.exe hanging with no understandable reason when the log file cannot be written to" issue for good (logging on management interface will still work).
Again, I might overlook something Windows special, but from a generic C and "on unix, the equivalent stuff would work correctly" perspective, the code looks good. More review welcome, though. Your patch has been applied to the master branch. commit 852f1e49c7e692c6392fe07160cfbc8d6b17f0d0 Author: Selva Nair List-Post: openvpn-devel@lists.sourceforge.net Date: Sun Feb 14 12:28:01 2016 -0500 Send stdout and stderr of OpenVPN started by interactive service to NUL Signed-off-by: Selva Nair <selva.n...@gmail.com> Acked-by: Gert Doering <g...@greenie.muc.de> Message-Id: <1455470881-32341-1-git-send-email-selva.n...@gmail.com> URL: http://article.gmane.org/gmane.network.openvpn.devel/11161 Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering