On Mon, 18 Jun 2007, Moritz Lennert wrote:
On 18/06/07 13:02, Hamish wrote:I just added a G_tempfile() call in d.title, now with the -d flag it does fopen(),fclose() then like G_system("d.text < \"%s\"", tmpfile).Just wondering: how Windows-friendly is such usage of G_system ?
I think it should be fine. cmd.exe understands the redirection operators like <, > and |. And using double quotes to quote pathnames is also Windows-compatible (single quotes won't work).
Paul _______________________________________________ grass-dev mailing list [email protected] http://grass.itc.it/mailman/listinfo/grass-dev

