vboxInfo() fixed windows bug

This commit is contained in:
Sebastian Hildebrandt
2021-03-29 21:35:40 +02:00
parent 9cef0f712f
commit 7d62cd2f95
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ function wmic(command, options) {
}
function getVboxmanage() {
return _windows ? `${process.env.VBOX_INSTALL_PATH || process.env.VBOX_MSI_INSTALL_PATH}\\VBoxManage.exe` : 'vboxmanage';
return _windows ? `"${process.env.VBOX_INSTALL_PATH || process.env.VBOX_MSI_INSTALL_PATH}\\VBoxManage.exe"` : 'vboxmanage';
}
function powerShell(cmd) {