VirtualBox

Opened 12 years ago

Last modified 9 years ago

#10138 closed defect

Guest execution doesn't report proper exit status — at Initial Version

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

Description

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 $?
16

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

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use