diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/windows/windows_process.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/comphelper/source/windows/windows_process.cxx b/comphelper/source/windows/windows_process.cxx index c9a41f5fc5d6..16ba61399b87 100644 --- a/comphelper/source/windows/windows_process.cxx +++ b/comphelper/source/windows/windows_process.cxx @@ -9,6 +9,8 @@ #include <cstring> #include <cwchar> +#include <comphelper/windowsStart.hxx> + // Needed for CreateEnvironmentBlock #include <userenv.h> #pragma comment(lib, "userenv.lib") @@ -163,17 +165,6 @@ MakeCommandLine(int argc, wchar_t **argv) return s; } -/** - * Launch a child process with the specified arguments. - * @note argv[0] is ignored - * @note The form of this function that takes char **argv expects UTF-8 - */ -BOOL -WinLaunchChild(const wchar_t *exePath, - int argc, wchar_t **argv, - HANDLE userToken = nullptr, - HANDLE *hProcess = nullptr); - BOOL WinLaunchChild(const wchar_t *exePath, int argc, |