2014-06-04 22:35 GMT+02:00 Markus Neteler <nete...@osgeo.org>:

>> 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?

this check has been removed from thunk [1].

...
            fcmd = get_real_command(args[0])
            if fcmd.endswith('.py'):
....

Martin

[1] 
http://trac.osgeo.org/grass/changeset/60679/grass/trunk/lib/python/script/core.py

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to