Michael Barton wrote:

> Anyway, it looks like the shebang should be #!/usr/bin/env python  
> unless that is a problem on a non-Mac system. What about Windows?

For MSys, "#!/usr/bin/env python" is fine. Natively, Windows doesn't
understand #! syntax, so you would need to either:

1. Add a .py suffix and add .py to PATHEXT.
2. Create a .bat wrapper (as is currently done for shell scripts).
3. Explicitly invoke the script via python.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to