This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: script-name won't execute but script-name.py will
- From: JROZYCKI at ebmail dot gdeb dot com
- To: Pavel Tsekov <ptsekov at syntrex dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 16 Nov 2001 09:32:44 -0500
- Subject: Re: script-name won't execute but script-name.py will
Pavel,
We are on NT 4.0. I believe I have proper permissions because I can run the
script when I tack on the script's extension, such as pl or awk. The response
is "command not found", not permission denied... Here is some output:
bin $ pwd
/home/jrozycki/bin
bin $ ll
total 51
drwxr-xr-x 5 jrozycki users 4096 Nov 15 19:09 ./
drwxr-xr-x 10 jrozycki users 8192 Nov 15 15:55 ../
-rwxr-xr-x 1 jrozycki users 735 Nov 15 14:41 maxcom.py*
<snip>
bin $ maxcom
bash: maxcom: command not found
bin $ ./maxcom
bash: ./maxcom: No such file or directory
bin $ maxcom.py
Incorrect Syntax - maxcom.py char INPUTFILE OUTPUTFILE
bin $ path
/cygdrive/f/bin
/cygdrive/d/Applications
/usr/local/bin
/usr/bin
/bin
/home/jrozycki/bin
<snip>
Pavel Tsekov <ptsekov@syntrex.com> on 11/16/2001 03:49:37 AM
To: Jeff Rozycki/EB/GDYN@GDYN
cc: cygwin@cygwin.com
Subject: Re: script-name won't execute but script-name.py will
Do you have the proper permissions set on your
script files ? Are you running a Win9x or NT ?
JROZYCKI@ebmail.gdeb.com wrote:
>
> Troy,
> The interpreter line is already specfied on the first line of all my scripts.
> So something else must be the culprit.
--
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/