Re: [Openvpn-devel] [PATCH] Fix Windows script execution when called from script hooks

2013-05-16 Thread Heiko Hund
On Saturday 11 May 2013 14:00:24 Josh Cepek wrote: > /* this allows console programs to run, and is ignored otherwise */ ACK, because it's the truth. =) > unsigned int proc_flags = CREATE_NO_WINDOW; However, this should be a DWORD instead of unsigned int. Regards Heiko -- Heiko Hund | Sr. Soft

[Openvpn-devel] [PATCH] Fix Windows script execution when called from script hooks

2013-05-11 Thread Josh Cepek
Console applications under Windows, such as batch scripts, require the CREATE_NO_WINDOW process flag when run without an actual console window present. This change allows such scripts to execute and impact the hook status by way of their return code. Fixes bug #240. Signed-off-by: Josh Cepek ---