Set the extcap working directory on Windows.
authorGerald Combs <gerald@wireshark.org>
Tue, 14 Apr 2015 00:11:15 +0000 (17:11 -0700)
committerGerald Combs <gerald@wireshark.org>
Wed, 15 Apr 2015 20:26:13 +0000 (20:26 +0000)
commit40ce324f4d0beda62a957f5f6c47dcc9ac5c5c18
treec20e9a349a21b8e77e7d95420b0954550e17a51c
parent05c0152370cbe084193ad2946e6fc96a1017c08e
Set the extcap working directory on Windows.

On Windows, prepend the main program directory to %Path% when spawning
extcap processes. This lets us place androiddump in extcap while allowing
it to locate its DLLs.

Change-Id: I406c47ce71323266d5f14fb596931398464e452d
Reviewed-on: https://code.wireshark.org/review/8057
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
CMakeLists.txt
Makefile.nmake
extcap.c
packaging/nsis/uninstall.nsi
packaging/nsis/wireshark.nsi
packaging/portableapps/Makefile.nmake
ui/qt/Wireshark.pro