Page 1 of 1

How to reload vboxapi when VBoxXPCOMIPCD and VBoxSVC is killed

Posted: 29. Sep 2020, 08:21
by smallchicken
I import vboxapi and get the object like this:

Code: Select all

import vboxapi
reload(vboxapi)
oVBoxMgr = vboxapi.VirtualBoxManager(None, None)
vbox = oVBoxMgr.getVirtualBox()
it will start VBoxXPCOMIPCD and VBoxSVC process automatically, but when I kill the VBoxXPCOMIPCD and VBoxSVC, the vbox object will be None. Even if I reload vboxapi, and reget the vbox object again, it still None.

my question is , how to get the vbox object again , when the VBoxXPCOMIPCD and VBoxSVC is killed or crash.(do not close my python script and restart)

Re: How to reload vboxapi when VBoxXPCOMIPCD and VBoxSVC is killed

Posted: 30. Sep 2020, 14:23
by scottgus1
I deleted the two duplicates of your post. Duplicating posts is not allowed.