VirtualBox

Opened 13 years ago

Closed 9 years ago

#10138 closed defect (fixed)

Guest execution doesn't report proper exit status

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

comment:1 by Frank Mehnert, 12 years ago

Component: guest additionsguest control
Description: modified (diff)

comment:2 by LionFat, 9 years ago

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

comment:3 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

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.

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