﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
19518,Guest command execution fails if more than 2 environment vars are provided => fixed in svn/6.1.x x>6,mskov,BP,"If more than 2 environment vars are provided during the guest command execution, we get an error VERR_ENV_INVALID_VAR_NAME:

{{{
C:\WINDOWS\system32>""C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"" guestcontrol TestVM run --username root --password keins --exe /bin/ls --putenv ""test1=test"" --putenv ""test2=test"" --putenv ""test3=test"" --wait-stdout
VBoxManage.exe: error: VERR_ENV_INVALID_VAR_NAME
VBoxManage.exe: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestProcessWrap, interface IGuestProcess, callee IUnknown
VBoxManage.exe: error: Context: ""WaitForArray(ComSafeArrayAsInParam(aWaitStartFlags), gctlRunGetRemainingTime(msStart, cMsTimeout), &waitResult)"" at line 1470 of file VBoxManageGuestCtrl.cpp
}}}
With 2 vars it works fine:
{{{
C:\WINDOWS\system32>""C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"" guestcontrol TestVM run --username root --password keins --exe /bin/ls --putenv ""test1=test"" --putenv ""test2=test"" --wait-stdout
bin
boot
data
dev
....
}}}

The problem happens with a Debian 10 guest with GAs 6.1.6. It does not happen with GAs 6.1.4 (or earlier). ",defect,closed,guest additions,VirtualBox 6.1.6,fixed,,,Linux,Windows
