[GRASS-user] Call an external function from GRASS-Pythons Scripts
Martin Landa
landa.martin at gmail.com
Thu Apr 22 06:12:00 EDT 2010
Hi,
2010/4/22 Kim Besson <kimbesson1981 at gmail.com>:
> I'm developing a small GRASS Python script but I will need to call an
> external executive. I already know where to put it (at $PATH) but i don't
> know how to call it from Python GRASS Script. How can I do this? (as an
> example it's helloWorld :) )
grass.call()
e.g.
grass.call(['whoami', '--version'])
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
More information about the grass-user
mailing list