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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Shell.PeekOutputText

Peeks into output buffer.

Component Version macOS Windows Linux Server iOS SDK
Shell 7.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "Shell.PeekOutputText"; ShellRef { ; Encoding } )   More

Parameters

Parameter Description Example Flags
ShellRef The reference number from the shell. $shell
Encoding The text encoding for result. UTF8 Optional

Result

Returns text or error.

Description

Peeks into output buffer.
Returns data in buffer without removing it.

You need to call Shell.ReadOutputText later to actually read the data and remove it from the buffer.
The plugin internally queries Shell.AvailableBytesOutput to see how much to read and return.

See also

Created 11st November 2017, last changed 22nd April 2021


Shell.PeekErrorText - Shell.ProcessIdentifier

Feedback: Report problem or ask question.