fix: parameter error (#11777)
This commit is contained in:
parent
5fa17e440a
commit
f1a4494e3c
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ extern "C"
|
|||
si.wShowWindow = SW_SHOW;
|
||||
}
|
||||
wchar_t buf[MAX_PATH];
|
||||
wcscpy_s(buf, sizeof(buf), cmd);
|
||||
wcscpy_s(buf, MAX_PATH, cmd);
|
||||
PROCESS_INFORMATION pi;
|
||||
LPVOID lpEnvironment = NULL;
|
||||
DWORD dwCreationFlags = DETACHED_PROCESS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue