Lasso Soft Inc. > Home

[OS_Process->ReadError]

[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.

  • Syntax
  • Parameters
Var: 'myProcess' = (OS_Process: '/bin/cat');
$myProcess->(Write: 'This is a test\n');
$myProcess->CloseWrite;
encode_html: $myProcess->ReadError;
$myProcess->Close;
Optional Parameters
Length The maximum length in bytes of data to read from the native process.
Examples

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

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

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft