StandardInputStream.ReadAll

From Xojo Documentation

Method

StandardInputStream.ReadAll(encoding As TextEncoding = Nil) As String

Supported for all project types and targets.

Reads all available data from the input stream without waiting for the user to press the Return or Enter key.

Notes

On macOS and Linux, ReadAll only reads the first 1024 bytes of data. You should continue reading until EOF to be sure you get all the data. ReadAll is a non-blocking operation.

Example

Var s As String
s = StdIn.ReadAll