Re: [GRASS-dev] running modules from python

2014-09-17 Thread Glynn Clements
Luca Delucchi wrote: > is there ant way to use run_command using as input command a string or > a list of strings? Why would you do that? The grass.script.core.*_command functions are all thin layers on top of Python's subprocess.Popen() interface. The only reason they exist is to allow the pro

Re: [GRASS-dev] running modules from python

2014-09-17 Thread Anna Petrášová
Hi Luca, On Wed, Sep 17, 2014 at 5:23 AM, Luca Delucchi 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 conver

[GRASS-dev] running modules from python

2014-09-17 Thread Luca Delucchi
Hi devs, is there ant way to use run_command using as input command a string or a list of strings? thanks -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mail