Provide a Windows-specific implementation of exec_program_v()
commit700445a50c5a48fbeb377bc2695b91a2c5c15b5e
authorjohnstevenson <john-stevenson@blueyonder.co.uk>
Thu, 27 Mar 2014 14:42:52 +0000 (27 14:42 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 28 Mar 2014 21:02:30 +0000 (28 16:02 -0500)
treebb719fe6871ac0a3af0ec48c76172f87b5a2c74e
parent33f73c533b38cc7079a0634d428424a85e835f4d
Provide a Windows-specific implementation of exec_program_v()

Building in Visual Studio 2010 causes clients to hang if they
read stdout (Far Manager, for example). This does not happen for
MinGW builds, so this rough hack uses Win32 handles for
redirection, rather than C file-descriptors.

[JES: formatted source code a little bit, moved around a little
bit, simplified integration of the Windows-specific code.]

Signed-off-by: johnstevenson <john-stevenson@blueyonder.co.uk>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
common/Makefile
common/exec.c
common/winexec.c [new file with mode: 0644]
explorer/Makefile
explorer/visualstudio/cheetah.vcxproj
explorer/visualstudio/cheetah.vcxproj.filters