From: JROZYCKI@ebmail.gdeb.com
To: Troy Noble <troy.noble@channelpoint.com>
Cc: cygwin@cygwin.com
Subject: RE: script-name won't execute but script-name.py will
Date: Sun, 11 Nov 2001 08:26:00 -0000 [thread overview]
Message-ID: <85256B05.006C4612.00@groton5.notes.gdeb.com> (raw)
Troy,
The interpreter line is already specfied on the first line of all my scripts.
So something else must be the culprit.
Thanks,
Jeff
Troy Noble <troy.noble@channelpoint.com> on 11/15/2001 02:35:01 PM
To: Jeff Rozycki/EB/GDYN@GDYN, cygwin@cygwin.com
cc:
Subject: RE: script-name won't execute but script-name.py will
Try adding
#!/usr/bin/python
as the first line of your scripts (substitute the appropriate
path/filename depending on whether it's python, perl, bash, etc.
and where the filename lives /usr/bin, /usr/local/bin, etc.)
Or if you're sure it's always going to be on your PATH you can use
#!env python
Then the filename extension doesn't matter.
I've even had luck invoking native win32 script interpreters, such as
ActiveState Perl this way such as:
#!/cygdrive/c/Perl/bin/perl
Hey, this stuff really does work like Unix!
Troy
-----Original Message-----
From: JROZYCKI@ebmail.gdeb.com [mailto:JROZYCKI@ebmail.gdeb.com]
Sent: Thursday, November 15, 2001 12:13 PM
To: cygwin@cygwin.com
Subject: script-name won't execute but script-name.py will
-snip ... you're welcome Earnie
--
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/
next reply other threads:[~2001-11-15 19:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-11 8:26 JROZYCKI [this message]
2001-11-11 8:26 ` Pavel Tsekov
-- strict thread matches above, loose matches on Subject: below --
2001-11-11 8:26 Troy Noble
2001-11-11 8:26 Fleischer, Karsten (K.)
2001-11-11 8:26 JROZYCKI
2001-11-11 8:26 ` David Starks-Browning
2001-11-11 8:26 JROZYCKI
2001-11-11 8:26 JROZYCKI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85256B05.006C4612.00@groton5.notes.gdeb.com \
--to=jrozycki@ebmail.gdeb.com \
--cc=cygwin@cygwin.com \
--cc=troy.noble@channelpoint.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).