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: Mon, 12 Feb 2007 17:48:24 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

address@hidden wrote:
> Hi,
>  
> I'd like to propose the attached extension to octave. This implements
> a new
> function exec_with_pipes, which creates communication pipes and start
> a child process. The initial goal is to work around the fact that
> MSVC/MinGW
> is missing fork(), such that popen2 is not working (note that MSVC also
> misses POSIX pipe; it has a "_pipe" function, but with additional
> arguments).
>  
> I only implemented the Win32 version, but UNIX implementation should
> be straightforward.
>  
> Michael.
>
Doesn't the code here effectively do something almost equivalent to
popen2? In that case why can't this just be used as a MWVC/MINGW
implementation of the popen2 function rather than introduce a new
function? If not what is different? Do we need both popen2 and
exec_with_pipes?

Cheers
David

-- 
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]