<div dir="ltr"><div>Check r60634. ^|& had to be escaped with ^^^.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 31, 2014 at 7:19 AM, GRASS GIS <span dir="ltr"><<a href="mailto:trac@osgeo.org" target="_blank">trac@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">#2314: output r.out.xyz<br>
-------------------------------------------------+--------------------------<br>
Reporter: pvanbosgeo | Owner: grass-dev@…<br>
Type: defect | Status: new<br>
Priority: normal | Milestone: 7.0.0<br>
Component: Default | Version: svn-trunk<br>
Keywords: separator, pipe, r.out.xyz, r.stats | Platform: MSWindows 7<br>
Cpu: All |<br>
-------------------------------------------------+--------------------------<br>
<br>
</div>Comment(by annakrat):<br>
<br>
Replying to [comment:15 glynn]:<br>
<div class=""> > Replying to [comment:12 annakrat]:<br>
><br>
> > It's not problem of wxGUI but maybe of Python scripting library.<br>
Today's version of r.out.xyz on Windows gives this error when you specify<br>
| or you leave default:<br>
> ><br>
{{{<br>
The syntax of the command is incorrect.<br>
}}}<br>
><br>
> How are you running the script?<br>
<br>
</div> Sorry I forgot to mention it, I tried to run it from wxGUI and terminal<br>
window and the error is the same. So I repeat it again, it's not the<br>
problem of wxGUI.<br>
<div class=""><br>
><br>
> If a command is executed via e.g. grass.run_command(), Python's<br>
subprocess.Popen() provides the necessary quoting.<br>
<br>
</div> Apparently not.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Ticket URL: <<a href="http://trac.osgeo.org/grass/ticket/2314#comment:18" target="_blank">http://trac.osgeo.org/grass/ticket/2314#comment:18</a>><br>
GRASS GIS <<a href="http://grass.osgeo.org" target="_blank">http://grass.osgeo.org</a>><br>
<br>
</font></span></blockquote></div><br></div>