Lasso Soft Inc. > Home

[ OS_Process->ReadError ]

Method

[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 method 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 method. A raw byte stream is always returned.

  • Syntax
local(myProcess = OS_Process('/bin/cat'))
#myProcess->SetEncoding('iso-8859-1')
#myProcess->Write('This is a test\n')
#myProcess->CloseWrite
encode_html(#myProcess->ReadError)
#myProcess->Close
Examples

No examples found

Recent Comments

No Comments found

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