"run" changes behavior with cygwin-17.6

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Aug 18 19:34:00 GMT 2010

On Aug 18 15:22, Christopher Faylor wrote:
> On Wed, Aug 18, 2010 at 03:19:06PM -0400, Christopher Faylor wrote:
> >>already does for the environment.  Dropping the environment had roughly
> >>the same consequences way back when, after all.
> >
> >Except that not every program uses the windows environment.  This affects
> >quite a few native windows calls.

It affects every program which calls CreateProcess or ShellExecute, for
instance.  This includes GDB, tcl, run, run2, cygstart, etc.

> And, for that reason, I think we should reconsider this change.  Maybe
> as a compromise maybe we could at least avoid cd'ing to the dummy
> location on entry to the first cygwin program.

I disagree.  When do you change the directory to //?/pipe then?  The
first time chdir is called?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list