]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
use CreateProcess instead of system to run scripts.
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 21 Aug 2014 15:20:55 +0000 (17:20 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 29 Sep 2014 14:27:31 +0000 (15:27 +0100)
commitf3b06b62ab757f34ecc239fcf9a87f696082e065
treee4cb219f803ee0ad539f1657376ec44fbe5aa449
parentcaf8debf7341117153ac48b898570cd44fe5b1fe
use CreateProcess instead of system to run scripts.

That prevents the pop up of terminal windows.

[dwmw2: Use -ETIMEDOUT instead of -ETIME which doesn't seem to be present in
        my Fedora 20 MinGW setup. Do not prepend 'cscript' to vpnc_script
        string now that we invoke it that way unconditionally.]

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
main.c
script.c