mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-06-07 09:52:49 +08:00
fix: parameter error (#11777)
This commit is contained in:
parent
5fa17e440a
commit
f1a4494e3c
@ -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…
Reference in New Issue
Block a user