Dear Andreas,

thank you for pointing this out. Turns out, there is no documentation at all (i.e. one must read the C source to userstand the Oz code importing the C functors), and in its makefile.oz there is a dependency to /home/denys/Mozart/mozart-1-2-0-fixes/platform/ emulator. But indeed, there are some file descriptor variables in the code (helpfully named FD ;-) ). Looking at io.cc, however, it appears to me that most procedures (e.g., a new pipe implementation) seem to read/write only the file descriptors 0 and 1 (i.e., no stderr).

Does anyone has ever used this contribution or knows more about it?

Thanks!

Best
Torsten


On Sep 8, 2007, at 1:35 PM, [EMAIL PROTECTED] wrote:
Quoting Torsten Anders <[EMAIL PROTECTED]>:

BTW: unfortunately, the Oz pipe can not distinguish between stdin and stderr, which would be very handy for cases like this.

On Unix and the like, 'x-oz://contrib/os/process.ozf'
might be able to handle stdout and stderr separately.
But I haven't used it yet.

Cheers,
Andreas


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


______________________________________________________________________ ___________ mozart-users mailing list mozart- [EMAIL PROTECTED]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
http://strasheela.sourceforge.net
http://www.torsten-anders.de


_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to