delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <410-220032521195727179@M2W036.mail2web.com> |
X-Priority: | 3 |
Reply-To: | lhall AT rfk DOT com |
X-Originating-IP: | 209.113.174.244 |
From: | "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com> |
To: | adefaria AT salira DOT com, cygwin AT cygwin DOT com |
Subject: | RE: Symlink to script fails |
Date: | Fri, 21 Feb 2003 14:57:27 -0500 |
MIME-Version: | 1.0 |
X-OriginalArrivalTime: | 21 Feb 2003 19:57:27.0349 (UTC) FILETIME=[7597EE50:01C2D9E3] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id h1LJvgI07243 |
I tried the same thing with c:/winnt/system32/cmd.exe (I don't have CQPerl ;-) ) and it worked fine. Perhaps you can try that and see if it points to a CQPerl problem or some local configuration issue. Larry Original Message: ----------------- From: Andrew DeFaria ADeFaria AT Salira DOT com Date: Fri, 21 Feb 2003 10:41:45 -0800 To: cygwin AT cygwin DOT com Subject: Symlink to script fails I have need to use Rational's "CQPerl" which appears to be a derivative of Active State Perl that allows me to use Perl to access Clearquest. I have a perl script that does what I want however if I symlink that script the symlinked invocation does not work! I've drastically reduced the Perl script to simply demonstrate the problem: $ cat foo #!c:/Progra~1/Rational/ClearQuest/CQPerl print "Hello world\n"; $ foo Hello world $ ls -l bar lrwxrwxrwx 1 adefaria Domain U 86 Feb 21 10:38 bar -> foo* $ bar Can't open perl script "./bar": No such file or directory Now if I change the shebang line to #!/bin/perl then everything works but as I said I need to use CQPerl. Ideas? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |