X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 11 Jan 2008 10:11:47 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: [BUG?] run.exe and pdflatex
In-Reply-To: <20080111095321.GK5097@calimero.vinschen.de>
Message-ID: <Pine.GSO.4.63.0801111005440.13638@access1.cims.nyu.edu>
References: <fm5sat$o04$1@ger.gmane.org> <Pine.GSO.4.63.0801101505510.8742@access1.cims.nyu.edu>  <fm62p7$frr$1@ger.gmane.org> <Pine.GSO.4.63.0801101700480.8742@access1.cims.nyu.edu>  <4786AC35.4030608@upb.de> <Pine.GSO.4.63.0801101841210.13638@access1.cims.nyu.edu>  <4786B436.5030702@upb.de> <Pine.GSO.4.63.0801102351320.13638@access1.cims.nyu.edu>  <20080111095321.GK5097@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1251336619-1200064307=:13638"
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Note-from-DJ: This may be spam

---559023410-1251336619-1200064307=:13638
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT

On Fri, 11 Jan 2008, Corinna Vinschen wrote:

> On Jan 10 23:57, Igor Peshansky wrote:
> > On Fri, 11 Jan 2008, Sven Köhler wrote:
> > > So the question is: who does all the checks (shebang, etc.)?
> > > - the execve implementation? (which is cygwin, right?)
> > > - the shell?
> > > - both?
> >
> > The shell.
> > 	Igor
>
> Cygwin's exec(3) calls have shebang magic builtin as described in
> http://www.opengroup.org/onlinepubs/009695399/functions/exec.html

Indeed.  Sorry, I missed the call to newargv.fixup in spawn_guts...

So, what was the reason, then, to remove "si.wShowWindow = SW_HIDE" from
spawn_guts in CVS?  Having it makes it much easier to fix run.exe
appropriately...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it." -- Rabbi Hillel

---559023410-1251336619-1200064307=:13638
Content-Type: text/plain; charset=us-ascii

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