Merge branch 'zdy'
This commit is contained in:
@@ -60,7 +60,7 @@ class DesktopEnv(gym.Env):
|
||||
def _start_emulator(self):
|
||||
while True:
|
||||
try:
|
||||
output = subprocess.check_output(f"vmrun -T ws list", shell=True, stderr=subprocess.STDOUT)
|
||||
output = subprocess.check_output("vmrun -T ws list", shell=True, stderr=subprocess.STDOUT)
|
||||
output = output.decode()
|
||||
if self.path_to_vm.lstrip("~/") in output:
|
||||
print("VM is running.")
|
||||
|
||||
Reference in New Issue
Block a user