On Feb 27, 11:16 pm, "Hendrik van Rooyen" <[EMAIL PROTECTED]>
wrote:
> "Ishpeck" <[EMAIL PROTECTED]> wrote:
>
> 8<--- a bash problem -
>
> If it were Python, the advice would have been to use the
> print statement to figure out what the content of the
> variables wer
"Ishpeck" <[EMAIL PROTECTED]> wrote:
8<--- a bash problem -
If it were Python, the advice would have been to use the
print statement to figure out what the content of the
variables were.
As it is Bash, you may have to stoop to something like
echo to see what is
Ishpeck <[EMAIL PROTECTED]> wrote:
>': [Errno 22] Invalid argumentopen file 'foo.py
The problem is that Python is using the standard Windows CRLF line
endings, while Cygwin bash expects Unix LF-only line endings. Your script
ends up trying run the script "foo.y\r" instead of "foo.y", and since
CR
Ishpeck wrote:
> I'm using Python to automate testing software for my company. I
> wanted the computers in my testing lab to automatically fetch the
> latest version of the python scripts from a CVS repository and then
> ask a local database server which of the scripts to run.
>
> I built the fo
"Ishpeck" <[EMAIL PROTECTED]> writes:
> I'm using Python to automate testing software for my company. I
> wanted the computers in my testing lab to automatically fetch the
> latest version of the python scripts from a CVS repository and then
> ask a local database server which of the scripts to r
It may be worth noting that I'm running Cygwin on WindowsXP
professional.
--
http://mail.python.org/mailman/listinfo/python-list
I'm using Python to automate testing software for my company. I
wanted the computers in my testing lab to automatically fetch the
latest version of the python scripts from a CVS repository and then
ask a local database server which of the scripts to run.
I built the following:
#!/bin/bash
# Bat