Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Shell.SetBufferSize

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

Parameters

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

Result

Returns OK or error.

Description

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

This function is free to use.

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


Shell.SetArgumentsList - Shell.SetCompletedEvaluate