Hi All,
i'm tring to use grass modules that needs a "standard input" method,
like "m.proj"
here an example where i'musing a "file" as input :
coords = read_command('m.proj', input=coordsfile, flags='i')
how to use standard input, like in bash :
echo '599537.80 4920995.38' | m.proj -o
there is a python way to do it, or i need to use "system call" like os.system
or subprocess ?
thanks!
Massimo._______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev