[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invoke an octave session via pipe
From: |
Olaf Till |
Subject: |
Re: Invoke an octave session via pipe |
Date: |
Fri, 8 May 2009 08:48:09 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, May 07, 2009 at 07:16:28PM -0400, Qianqian Fang wrote:
> thank you John, and also Michael's reply for using the -i option.
>
> I tried -i and my initial pipe read returned the "octave:1>" prompt,
> however, sending commands via my pascal function still
> failed to give me any more output to read.
After you send the command to Octave, it might be necessary to send
the additional command
fflush (stdout);
which should flush the pipe from Octave to your pascal program since
Octaves stdout is probably redirected to that pipe.
Olaf