X-Spam-Check-By: sourceware.org Date: Thu, 2 Feb 2006 12:27:53 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: Exec and parent environment [attn tcltk maintainer] In-Reply-To: <20060202171706.GF22365@trixie.casa.cgf.cx> Message-ID: References: <020220061704 DOT 21728 DOT 43E23BAA00009920000054E022092246270A050E040D0C079D0A AT comcast DOT net> <20060202171706 DOT GF22365 AT trixie DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, 2 Feb 2006, Christopher Faylor wrote: > On Thu, Feb 02, 2006 at 05:04:42PM +0000, Eric Blake wrote: > >$ cygcheck tclsh > >Found: C:\cygwin\bin\tclsh.exe > >C:/cygwin/bin/tclsh.exe > >$ > > bash$ ls -l /bin/tclsh* > lrwxrwxrwx 1 cgf None 11 Mar 15 2005 /bin/tclsh.exe -> tclsh84.exe > -rwxrwxrwx 1 cgf None 16384 Sep 1 2003 /bin/tclsh84.exe > bash$ cygcheck /bin/tclsh84.exe > d:/cygwin/bin/tclsh84.exe > L:\WINXP\system32\KERNEL32.dll > L:\WINXP\system32\ntdll.dll > d:/cygwin/bin\cygwin1.dll > L:\WINXP\system32\ADVAPI32.DLL > L:\WINXP\system32\RPCRT4.dll > d:/cygwin/bin\tcl84.dll > L:\WINXP\system32\USER32.dll > L:\WINXP\system32\GDI32.dll > > I will look into fixing this. > > cgf Whatever fix is made, it would be great if cygcheck output the path of symlinks it had to chase to get the executable. Also, outputting "Not an executable" for scripts and such would help. BTW: $ cygcheck vi Error: could not find vi $ ls -l /usr/bin/vi lrwxrwxrwx 1 igor Users 7 Dec 20 18:21 /usr/bin/vi -> vim.exe $ cygcheck awk Found: C:\cygwin\bin\awk.exe C:/cygwin/bin/awk.exe $ ls -l /usr/bin/awk.exe lrwxrwxrwx 1 igor Users 8 Nov 17 18:25 /usr/bin/awk.exe -> gawk.exe Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/