Shell.Result

From Xojo Documentation

Property (As String )
aShell.Result = newStringValue
or
StringValue = aShell.Result

Supported for all project types and targets.

Contains the contents of the output buffer without clearing the buffer.

Example

This example runs the "ls" command in a Shell and displays the results:

Var sh As New Shell

sh.Execute("ls")
TextArea1.Value = sh.Result