Cannot exec() program outside of /bin if PATH is unset

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Oct 10 10:34:00 GMT 2014


On Oct  9 11:46, tednolan@bellsouth.net wrote:
> In message <20141009162906.GA25389@calimero.vinschen.de>you write:
> >
> >Any other idea what *might* be broken if we remove CWD from the
> >DLL search path?
> >
> >
> >Corinna
> >
> 
> I'm pretty sure I've got some programs loading Tcl extensions that
> cd into the directory with the extension dlls, load the extension and then
> change back to where ever they were.

Hmm.  If so, it's quite a weird way to handle this, rather than
loading the modules with full path.

Is that a Tcl "feature", or is it how certain Tcl apps are implemented?
I can't really believe the former...

Assuming I create a Cygwin snapshot adding a call to SetDllDirectory in
the next couple of days, would you be willing to test if your Tcl stuff
still works?


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141010/58cad442/attachment.sig>


More information about the Cygwin mailing list