On Wed, Jun 4, 2014 at 7:56 PM, Glynn Clements <gl...@gclements.plus.com> wrote:
...
> So either:
>
> 1. GRASS 7 will need .bat wrappers for Python scripts on Windows. That
> has the same issues as using shell=True, but at least it only applies
> in the case where we're executing a script.

... this would follow the apparently working method in GRASS 6.
Maybe worth a try also in GRASS 7 at this point.

> 2. If we know that the "program" is a script, the interpreter can be
> specified explicitly (i.e. "python path/to/script.py"). This keeps the
> shell out of the picture.

... how much effort is the latter? Check file type and path to file?

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to