octave-maintainers
[Top][All Lists]
Advanced

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

Re: New function proposal


From: David Bateman
Subject: Re: New function proposal
Date: Thu, 15 Feb 2007 09:40:03 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Michael Goffioul wrote:
> 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 is right.. It is pipe that needs fixing here as it returns a list..

D.


-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

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