Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   11.6    Statistic    FMM    Blog  


Sets desired shell buffer size.

Component Version macOS Windows Linux Server iOS SDK
Shell 10.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "Shell.SetBufferSize"; ShellRef; Size )   More


Parameter Description Example
ShellRef The reference number from the shell. $shell
Size The desired size in bytes.
Pass 0 for default size.
64 * 1024


Returns OK or error.


Sets desired shell buffer size.
Please set after calling Shell.New and before executing an application.
Default size on Linux is 64K and on Windows default is 4K. Windows may have an upper limit of 64K.
Setting is ignore on MacOS as size is dynamic there.

Please set before you execute something.

See also

Release notes

Blog Entries

Created 7th July 2020, last changed 23th April 2021

Shell.SetArgumentsList - Shell.SetCompletedEvaluate

Feedback: Report problem or ask question.

MBS Xojo Plugins

Start Chat