Ticket #12782 (closed defect: fixed)
After upgrading to 4.3.8, missing environment for command prompt started using vboxmanage guestcontrol exec command
|Reported by:||smokey||Owned by:|
|Version:||VirtualBox 4.3.8||Keywords:||guestcontrol exec environment|
I am running a VM with Windows 7 x32 as the guest OS and Windows 7 x64 as the host OS.
I execute the following command to start a command prompt in the VM:
vboxmanage guestcontrol "Win 7 - 32" exec --verbose --image cmd.exe --username user --password password --wait-stdout --wait-stderr -- "/C start cmd"
The command completes successfully and the prompt is started. But, the environment setup for the command prompt is incorrect. It does not contain anywhere close to all the defined variables that should be present.
Following is the output when a "set" command is run in the prompt:
This issue was not present when I was running 4.3.6 (VirtualBox and Guest Additions). I started seeing this problem only after upgrading to 4.3.8.
I run a automated build environment in the VM and having the right environment set is important for the build to succeed.
As there is no crash I have not included any log files. If they are needed I can upload them.
Any/all help will be appreciated.