[GRASS-dev] running modules from python

Anna Petrášová kratochanna at gmail.com
Wed Sep 17 06:49:30 PDT 2014


Hi Luca,

On Wed, Sep 17, 2014 at 5:23 AM, Luca Delucchi <lucadeluge at gmail.com> wrote:

> Hi devs,
>
> is there ant way to use run_command using as input command a string or
> a list of strings?
>

would the function CmdToTuple(cmd) in wxpython/core/utils.py be useful for
you? I think it takes list of strings and converts it in the format you
need for run_command. I wanted it to move it to lib/python/script/utils.py
anyway.

Anna


> thanks
>
> --
> ciao
> Luca
>
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140917/5b4d4fff/attachment-0001.html>


More information about the grass-dev mailing list