I'm running VirtualBox with Python and have come to an error.
Here is the code:
Code: Select all
startvmProc = subprocess.Popen(vboxmgrPath + " startvm " + machName)
startvmProc.wait()
Then I run an other process like this:VM "MyVM" has been successfully started.
Code: Select all
execProc = subprocess.Popen(vboxmgrPath + " guestcontrol " + machName + " --username " + username + " --password " + password + " run " + execPath)
execProc.wait()
Though it said it had been successfully started.VBoxManage.exe: error: Error starting guest session (current status is: starting)
Am I doing something wrong ?