﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
16684,VBoxManage.exe extpack command exhausts StdOut buffer,Schimkat,,"After having added a license agreement to the extension pack, automating has become quite the challenge. The problem is that the license message hits a 4K limit of the stdout/stderr buffer (which I actually didn't know existed until today).

Consider the following:

%comspec% /C ""C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"" extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-5.1.20-114628.vbox-extpack 1> %temp%\1.txt 2> %temp%\2.txt

.. which should write the entire license agreement into the %temp%\1.txt file. That does not happen, as the output (and VBoxmanage.exe) halts when hitting a 4K limit. My guess is that the message is sent as one big chunck of data, instead of being flushed each line.

(At first I though that it was my VBS script having trouble, as WScript.Shell actually does a have 4K limit with StdOut / StdErr, but the limit seems to exist in the shell itself)

No .. using --accept-license=xyz.. to circumvent the issues isn't an option (at least I think), as Im automating installation for multiple customers. Please have a look at this strange behavior, and let me know what you think.",defect,new,other,VirtualBox 5.1.20,,,,other,Windows
