mirror of https://github.com/BOINC/boinc.git
VBOX: Make sure vboxsvc is launched outside the slot directory in sandbox mode on Windows.
This commit is contained in:
parent
579597be93
commit
699f22d051
|
@ -2287,7 +2287,18 @@ int VBOX_VM::launch_vboxsvc() {
|
|||
|
||||
command = "\"VBoxSVC.exe\" --logrotate 1";
|
||||
|
||||
CreateProcess(NULL, (LPTSTR)command.c_str(), NULL, NULL, TRUE, CREATE_NO_WINDOW, NULL, NULL, &si, &pi);
|
||||
CreateProcess(
|
||||
NULL,
|
||||
(LPTSTR)command.c_str(),
|
||||
NULL,
|
||||
NULL,
|
||||
TRUE,
|
||||
CREATE_NO_WINDOW,
|
||||
NULL,
|
||||
virtualbox_home_directory.c_str(),
|
||||
&si,
|
||||
&pi
|
||||
);
|
||||
|
||||
if (pi.hThread) CloseHandle(pi.hThread);
|
||||
if (pi.hProcess) {
|
||||
|
|
Loading…
Reference in New Issue