VirtualBox

Ticket #9295 (new defect)

Opened 3 years ago

Last modified 2 years ago

GuestControl Execute from python is broken (Windows hosts only)

Reported by: Technologov Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.0 Keywords:
Cc: Guest type: other
Host type: Windows

Description

Host: Windows (XP+Vista+7) + python 2.6.6 + pyWin v216 + VBox 4.1.0

The following command fails on Windows hosts: (from vboxshell.py)

vbox> guest "Windows XP VM 11" 'print console.guest.executeProcess("ping.exe", 0, " 127.0.0.1", "", "Administrator", "123456", 10000)'

Objects for SAFEARRAYS must be sequences (of sequences), or a buffer object.

NOTE: The same works on Debian Linux 6 hosts.

-Technologov, 24.7.2011.

Change History

comment:1 Changed 2 years ago by Technologov

NOTE: This bug also affects C#, and possibly other high-level (managed) languages.

C++ works (as proven by testing VBoxManage)

Version 1, edited 2 years ago by Technologov (previous) (next) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use