On Mon, Jan 31, 2011 at 2:27 AM, Nikolay Igotti
<[email protected]> wrote:
>   Hi,
>
>  First of all, it would be nice if you tried vboxshell.py first. It's
> strongly recommended
> to use uniform bindings (vboxapi.py) in all newly developed code.
>  With it code is pretty simple:
>
> from vboxapi import VirtualBoxManager
> mgr = VirtualBoxManager(None, None)
> vbox = mgr.vbox
> name = "ubu"
> mach = vbox.findMachine(name)
> session = mgr.mgr.getSessionObject(vbox)
> progress = mach.launchVMProcess(session, "gui", "")
> progress.waitForCompletion(-1)
>

Your example works.

The official SDK's example does not. (SDKRef.pdf)

I would like to ask to update section v2.3.2 of SDKRef.pdf to working example.

-- 
-Alexey Eromenko "Technologov"

_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to