mirror of https://github.com/BOINC/boinc.git
parent
6ebadb3085
commit
62ef962134
|
@ -301,6 +301,7 @@ bool VBOX_VM::is_running() {
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
|
||||||
command = "showvminfo \"" + vm_name + "\" ";
|
command = "showvminfo \"" + vm_name + "\" ";
|
||||||
|
command += "--machinereadable ";
|
||||||
|
|
||||||
if (vbm_popen(command, output) == 0) {
|
if (vbm_popen(command, output) == 0) {
|
||||||
vmstate_location = output.find("VMState=\"");
|
vmstate_location = output.find("VMState=\"");
|
||||||
|
|
Loading…
Reference in New Issue