-----Mensaje original-----
De: Massimiliano Cannata [mailto:massimiliano.cannata@ist.supsi.ch]
Enviado el: jueves, 31 de julio de 2003 12:26
CC: GRASSLIST@Baylor.edu
Asunto: [GRASSLIST:869] how to suppress shell output ???How can I suppress shell std output using G_system()?
maybe ...
G_system("r.mapcalc >> temp.txt")
.... but it doesn't seems to me to be enough just redirect it.
Suggestions?
">>" concatenates the output. Try "2>&1" instead. I usually redirect to tee,
but I guess the syntax should be the same.
Regards
Gonzalo