LassoScript Utility
Basics Browse Detail


Tag Link [OS_Process->ReadError] Category OS Process
Type Member Source Available No
Support Preferred Version 8.5
Change New Data Source Any
Output Type Bytes Security Tag
Implementation Internal Sets Lasso 8.5


[OS_Process->ReadError] reads any available data from the standard error output of the native process and returns a byte stream. This tag accepts one parameter which specifies the maximum number of bytes of data to retrieve. The tag will return all available data up to that number of bytes. By default all available data will be retrieved.

No character set translation is performed on the output of this type. A raw byte stream is always returned.


Var: 'myProcess' = (OS_Process: '/bin/cat');
$myProcess->(Write: 'This is a test\n');
encode_html: $myProcess->ReadError;


Optional Parameters
Length The maximum length in bytes of data to read from the native process.


See the Lasso 8 Language Guide for examples of how to use this tag.