VirtualBox

Opened 12 years ago

Last modified 9 years ago

#10138 closed defect

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

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

Description (last modified by Frank Mehnert)

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

comment:1 by Frank Mehnert, 12 years ago

Component: guest additionsguest control
Description: modified (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use