Thanks for this posting! I can confirm, that Shell() does filter/
translate the
output.
In my case, I used Shell to call PHP and return some binary data.
Since Shell
doesn't return data transparently to the RB app, it's simply useless
for
many cases.
This in non-documented feature N+1.
On 07.06.2006, at 17:58, Christopher Jett wrote:
Running on OS 10.4.6, RB 2006r2
I have a shell class that I use to execute this command:
'cat /path/to/some/text/file'
This file has line endings of chr(13)+chr(10)
If I execute this command in the Terminal and direct its output to
another file, I get an exact copy of the contents of the original
file. Line endings and all.
However, if I execute the same thing using the Shell class, it
appears that it strips out the linefeed character. When I do a
countfields on chr(10), I get one when there should be about 80.
If I write this to a file, I get a file with just chr(13) as a
line ending.
Any ideas on why this is and what I can do to prevent this?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>