VirtualBox

Ticket #14320 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Standard error/output does not work for VBoxManage guestcontrol run option --wait-stderr/--wait-stdout

Reported by: pbartfai74 Owned by:
Component: guest control Version: VirtualBox 5.0.0
Keywords: Cc:
Guest type: Linux Host type: other

Description

VBoxManage does not wait for completion of command. E.g.: exit immediate even if I run command sleep 60.

Output is not copied.

Option --wait-exit is still in the manual, but it gives error message.

Run the following command:

"\Program Files\Oracle\VirtualBox\VBoxManage.exe" guestcontrol Fedora22 --verbose --username root --password xxx run --wait-stdout --timeout 1800 -- /bin/pwd
VBoxManage.exe: warning: Error getting stdout handle: VERR_INVALID_HANDLE
VBoxManage.exe: warning: Error getting stderr handle: VERR_INVALID_HANDLE

Change History

comment:1 follow-up: ↓ 2 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Please reopen if still relevant with VBox 5.0.4.

comment:2 in reply to: ↑ 1 Changed 4 years ago by declassified

Replying to frank:

Please reopen if still relevant with VBox 5.0.4.

Still doesn't work with VirtualBox 5.0.4 on OS X 10.10.4. For me, it only happens when I run VBoxManage from a Python or Haskell program. When I run it from the terminal, it works fine.

comment:3 Changed 3 years ago by sepavel

I have the same issue with VBox 5.1.14 running on Windows 7 Server

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use