先上代码 :
void startupExe(const std::wstring& paras)
{
STARTUPINFO startupInfo;
PROCESS_INFORMATION procInfo;
memset(&startupInfo, 0, sizeof(startupInfo));
memset(&procInfo, 0, sizeof(procInfo));
//commandLine
wchar_t commandLine[16];
memset(&commandLine, 0, sizeof(commandLine));
wcscpy_s(commandLine, paras.c_str());
if