LibreOffice Module comphelper (master) 1
|
Go to the source code of this file.
Functions | |
BOOL | WinLaunchChild (const wchar_t *exePath, int argc, wchar_t **argv, HANDLE userToken=nullptr, HANDLE *hProcess=nullptr) |
Launch a child process with the specified arguments. More... | |
wchar_t * | MakeCommandLine (int argc, wchar_t **argv) |
Creates a command line from a list of arguments. More... | |
wchar_t * MakeCommandLine | ( | int | argc, |
wchar_t ** | argv | ||
) |
Creates a command line from a list of arguments.
The returned string is allocated with "malloc" and should be "free"d.
argv is UTF8
Definition at line 133 of file windows_process.cxx.
References ArgStrLen(), ArgToString(), and i.
Referenced by WinLaunchChild().
BOOL WinLaunchChild | ( | const wchar_t * | exePath, |
int | argc, | ||
wchar_t ** | argv, | ||
HANDLE | userToken = nullptr , |
||
HANDLE * | hProcess = nullptr |
||
) |
Launch a child process with the specified arguments.
Definition at line 167 of file windows_process.cxx.
References FALSE, MakeCommandLine(), and TRUE.