Ticket #10138 (closed defect: fixed)

Opened 4 years ago

Last modified 4 months ago

Guest execution doesn't report proper exit status

Reported by: mitchellh Owned by:
Priority: major Component: guest control
Version: VirtualBox 4.1.8 Keywords:
Cc: Guest type: Linux
Host type: Mac OS X

Description (last modified by frank) (diff)

Easy to reproduce:

foo$ VBoxManage guestcontrol foo execute --timeout 5000 --username vagrant --password vagrant --wait-exit --wait-stdout -- /bin/bash -c 'exit 2'
foo$ echo $?

The exit stats should have been 2, but guestcontrol reports 16.

Change History

comment:1 Changed 4 years ago by frank

  • Component changed from guest additions to guest control
  • Description modified (diff)

comment:2 Changed 4 months ago by LionFat

I have the same problem on 4.3.10_Ubuntur93012... -_-

comment:3 Changed 4 months ago by frank

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

Sorry but 4.3.10 is ancient. Recently we did a lot of fixes so please reopen if you can reproduce this problem with VBox 5.0.2.

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