Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 17 Apr 2003 23:45:49 -0400 (EDT) From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> Reply-To: cygwin AT cygwin DOT com To: Luciano <lucianoav AT gmx DOT net> cc: cygwin AT cygwin DOT com Subject: Re: Programs can't find Cygwin paths In-Reply-To: <Xns9360DB5CDDBF6lucianoavgmxnet@80.91.224.249> Message-ID: <Pine.GSO.4.44.0304172344370.27237-100000@slinky.cs.nyu.edu> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 18 Apr 2003, Luciano wrote: > I have a directory with several language interpreters: Perl, PHP, > Tcl, among others. I had Perl twice for a few days: Windows and > Cygwin. It seems that if I point to the interpreter with the hash > bang line using a Cygwin path, > > #!/c/langs/tcl/bin/tclsh > > ... Cygwin can find tclsh and invoke it, but then Windows tcl can't > find a path like /home/USER/somescript.tcl. Perl works fine because I > have a Cygwin installation (which I selected and installed by > accident, BTW). I don't want to install all other interpreters for > Cygwin to make them work with Cygwin paths. There must be another > way... There isn't, sorry. To understand POSIX paths, and especially Cygwin mount entries, the program has to be linked with cygwin1.dll. Judicious use of cygpath could help, but it won't replace the real thing. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- 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/