octave-maintainers
[Top][All Lists]
Advanced

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

Re: New function proposal


From: Michael Goffioul
Subject: Re: New function proposal
Date: Thu, 15 Feb 2007 06:23:11 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

John W. Eaton a écrit :
On 13-Feb-2007, Paul Kienzle wrote:

| For popen2 I think
| | [in, out] = popen2('echo');
|     fprintf(in,"hello");
|     response = fgets(out);
|     disp response
| | is more readable than | | p = popen2('echo');
|     fprintf(p(1),"hello");
|     response = fgets(p(2));
|     disp response
| | so I would prefer the former interface.

I agree.

popen2 already has this kind of interace, and I didn't change it.

Michael.

Thanks,

jwe





reply via email to

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