Ticket #9927 (closed defect: obsolete)

Opened 7 years ago

Last modified 22 months ago

guestcontrol exec with --wait-stderr or --wait-stdout hangs the VBoxManage process and prevents further execs

Reported by: IgorMinar Owned by:
Priority: major Component: guest control
Version: VirtualBox 4.1.6 Keywords:
Cc: Guest type: Windows
Host type: Mac OS X

Description (last modified by aeichner) (diff)

I just upgraded from 4.0.x to 4.1.6 and noticed that my scripts that start internet explorer in the windows VM started hanging (don't if executed from terminal even ctrl-c has no effect, only kill -9 helps). What's even worse is that no new commands can be executed in the vm until the process originally started in the vm dies.

Upon a closer look, I realized that it was --wait-stderr and --wait-stdout flags that caused this issue after removing them the process doesn't hang any more. My original command:


VBoxManage guestcontrol "MYVM" execute --image "cmd.exe" --username MYUSERNAME --password "" --wait-exit --wait-stdout --wait-stderr -- "/c" "C:\Program Files\Internet Explorer\iexplore.exe" " http://somehost/somepath"


after removing the two flags, the process doesn't hang any more and everything works just like in 4.0.x

Change History

comment:1 Changed 6 years ago by SamuraiJack

comment:3 Changed 22 months ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use