Quoting Torsten Anders <[EMAIL PROTECTED]>:

I experience a problem with Open.pipe, which I do not understand. For most applications, I am able to read their stdout/stderr into Oz. For some applications, however, this output does not show up in Oz. There output works perfectly fine on the terminal though, including redirection of their output into files or pipes. What can be the reasons that some program outputting to stdout/stderr works perfectly fine on the commandline, but is quasi silent for Oz?

Probably this is not relevant, but some programs (e.g. some shells)
have different modes: interactive and non-interactive.
They can automatically detect whether they have an interactive
controlling terminal or not.  If they are run from Oz, such a
terminal is not present; that could explain that they behave
differently.
If this is the cause, the solution might be to look in the
documentation of the program for a way to "force" interactive
mode even when there is no terminal (shells usually have such
an option).

Good luck,
Andreas


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


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

Reply via email to