A last non sarcastic question:

        What does RB's Shell class call?

If I'd know what's going on, I'm happy to write some
C sample code and prove ME or YOU wrong.

Am 07.06.2006 um 23:27 schrieb [EMAIL PROTECTED]:

On Jun 07, 2006, at 19:55 UTC, Stefan P. wrote:

Thanks for this posting! I can confirm, that Shell() does filter/
translate the output.

No, you can only confirm that the combination of the Shell class, and the underlying Unix pipes and whatnot, do filter/translate the output. The Shell class itself is doing no such thing, but it is dependent on underlying system services. Unix pipes are generally intended for textual data (and many system calls make use of C strings, which can't contain nulls), so it doesn't shock me to hear evidence that they mangle binary data in some way.

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.

Ah yes, the old "RB doesn't work exactly the way I think it should therefore it's useless" argument. Perhaps you should go program in C. Since C itself does almost nothing for you, you'll presumably have less to complain about. But no, wait, there's still the standard C library -- you'd no doubt want to use that, and then judge it useless because it doesn't do exactly what you want. So I recommend programming in assembly language, with no library or runtime framework whatsoever.

_______________________________________________
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>

Reply via email to