VirtualBox

Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#14320 closed defect (fixed)

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 (3)

comment:1 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

Please reopen if still relevant with VBox 5.0.4.

in reply to:  1 comment:2 by declassified, 9 years ago

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 by sepavel, 8 years ago

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

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette