This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: The implementation of popen().
- To: David Whitten <whitten at netcom dot com>
- Subject: Re: The implementation of popen().
- From: Jens Yllman <jens at uniweb dot se>
- Date: Thu, 09 Mar 2000 00:47:19 +0100
- Cc: GNUWin32 <cygwin at sourceware dot cygnus dot com>
- Organization: Uniweb AB
- References: <200003061632.IAA06269@netcom.com>
There may be many reasons why it is that much code in the cygwin
implementation. And actually it is not much code in popen(). But it
calls fork() and that calls ... and so on and on. I just wondered if
someone here knew a way around the stupid implementation of popen() in
windows.
Jens Yllman
David Whitten wrote:
>
> >
> > Hello,
> >
> > I've a UNIX program that uses popen(). But when I try to use that with
> > _popen() that is in Win32 I can not call a program that uses _popen().
> > But this works with popen() in Cygwin. I've looked at the code in
> > Cygwin. And it as quite alot of code. So I just wonder if there is
> > anybody here who know what is realy needed to get it to work. Why I
> > don't use Cygwin for this project is because I link with a static
> > library that does only work with MS-Visual C++.
>
> If it works in cygwin, I assume that all of the code is necessary.
> Windows has some seriously limited code.
> Why would the Cygwin developers want to add more code if they didn't
> need to ?
>
> Dave
--
------------------------------------------------------------
Uniweb AB Phone: +46 8 626 42 00
P O Box 745 FAX: +46 8 626 42 01
S-191 27 SOLLENTUNA
SWEDEN http://www.uniweb.se/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com