Charles-François Natali <neolo...@free.fr> added the comment: Python is not raising this error, your OS is. It doesn't find the interpreter, and if you look carefully, it's clear why:
bash: ***/src/webapp/tools/grab.sh: /bin/sh^M: bad interpreter: No such file or directory See the ^M after /bin/sh? It's looks like a DOS line ending, and the spurious \r character is concatenated to the intepreter path, leading to this error. You didn't copy this script through a Windows box, didn't you? Just run dos2unix on your script, and it should solve your problem. ---------- nosy: +charles-francois.natali _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12235> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com