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/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] 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
-- 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/