[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirectable octave?

From: Michael Goffioul
Subject: Re: Redirectable octave?
Date: Thu, 18 Oct 2007 21:52:30 +0200

On 10/18/07, John W. Eaton <address@hidden> wrote:
> | Here's a proposal for the standard IO interface that could be used in
> | octave. The idea is then to add 3 FILE* arguments to octave_main and
> | to call octave_standard_streams::init with those 3 args. In the normal
> | case, you end up using std::cin/cout/cerr.
> OK, I think this looks good.

Thinking about it, I might face some "fundamental" problems. If I really
want to redirect all octave IO to some given streams, I should also make
sure that child processes started by octave also use them (like processes
started with "system", "popen"...). This should be possible, although
more complex than I thought. Any comment on this?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]