This is the mail archive of the cygwin-apps 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]
Other format: [Raw text]

Re: New run version with patches for Windows 7


On Aug  9 09:42, Charles Wilson wrote:
> Corinna Vinschen wrote:
> 
> > Actually, it turned out that the entire FreeConsole/AttachConsole
> > stuff is entirely unnecessary.  I have a solution now which apparently
> > works for all OSes and it's really very simple.  What I didn't realize
> > is that run.exe as a GUI application has no console attached.  Thus,
> > only the child application started from run gets a hidden console 
> > created by Cygwin.  As a result there's some code unnecessary in
> > run.exe.  The child process gets now simply started without console
> > window at all, which in turn results in Cygwin creating the console for
> > the child.
> > 
> > New patch below.
> 
> ...which only works if run is compiled under cygwin 1.7, not if it is
> compiled as a native app or under cygwin 1.5.  I guess it's up to
> Alexander (or his replacement, if adoption is necessary)...

It also works under Cygwin 1.5.  Why do we need a mingw version?

> You've basically come around to proposing what Andy said in his first reply.

That's right.  After all, it's the most simple approch for the problem.


Corinna

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


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