This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem with fork/exec in Cygwin DLL called from non-Cygwin E XE


Chris Faylor <cgf@cygnus.com> writes:
> 
> No, not at all.  I don't want to add to the current ugly dynamic DLL
> handling code though.  It seems incredibly complicated (to me) for
> something that AFAICT should be relatively simple.
> 
> Both Mumit and I have banged on the code but neither of us have been
> brave enough to streamline or simplify it.

The last time we went through this code, the consensus (then) was that we
won't be able to support subprocess handling via fork/exec in Cygwin DLLs 
that are dynamically loaded, which is the case when it's loaded via
Excel. Note that this non-working set includes exec* family as well, and
what works is the spawn* family of routines, which can replace *some*
instances of fork/exec pair.

Regards,
Mumit

ps: I'd love to be proven grossly wrong in this case! 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]