A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-list/2001-April/067986.html below:

problem executing python scripts in cygwin bash shell

problem executing python scripts in cygwin bash shell problem executing python scripts in cygwin bash shellJohn J. Lee phrxy at csv.warwick.ac.uk
Thu Apr 5 22:55:36 EDT 2001
On Thu, 5 Apr 2001, D-Man wrote:
[...]
> #!/bin/bash
>
> //d/apps/Python20/python.exe $*
[...]

Aha!  Good idea.  Perhaps even better:

#!/bin/sh

temp = "$@ "
//d/apps/Python20/python `cygpath -w $1` ${temp#* }

Yuck.  It does seem to work, though.  Aren't you glad you can use Python
instead of shell scripts?


John


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4