[Pkg-octave-devel] Bug#244070: octave2.1-emacsen: octave quits when working with popen

Rafael Laboissiere Rafael Laboissiere <rafael@debian.org>, 244070@bugs.debian.org
Sat, 5 Mar 2005 00:06:09 +0100


* Pascal A. Dupuis <pascal.dupuis@esat.kuleuven.ac.be> [2004-04-16 15:48]:

> Package: octave2.1-emacsen
> Version: 2.1.57-1
> Severity: important
> 
> Hello,
> 
> while trying to debug a perl script that I use as interfaces to a
> MySQL DB, I found that octave, when run from inside Emacs (M-X
> run-octave), has a tendency to exit if trying to use popen. In
> particular, the example from the help causes this behaviour:
> 
> octave> fid = popen ("ls -ltr / | tail -3", "r");
> octave> 
> 
> Process Inferior Octave finished

This problem seems to fixed in a more recent version of Octave.  I tested
with Octave 2.1.65 and 2.1.67 (now in unstable) for both Emacs21 and
XEmacs21.  In all cases I get:

octave> fid = popen ("ls -ltr / | tail -3", "r");
octave> fid
fid =
{
  id = 3
  name = ls -ltr / | tail -3
  mode = r
  arch = ieee_little_endian
  status = open
}
octave>

I think we can close this bug report, but I would like to hear a
confirmation from the submitter soon.

-- 
Rafael