Hi,

2010/4/22 Kim Besson <[email protected]>:
>> > would have to do this:
>> > grass.call(['whoami', 'input_file', 'output_file']) or
>> > grass.call(['whoami input output_file'])

if the syntax is 'cmd input output' then

grass.call(['cmd', 'input', 'output'])

see

http://docs.python.org/library/subprocess.html#subprocess.Popen

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to