On Tue, Sep 4, 2012 at 2:01 PM, Anna Kratochvílová
<kratocha...@gmail.com> wrote:
...
> Problem occurs when calling this (line 194, dbmgr/manager.py in grass64)
...
> I recently added the fs parameter to be able to open data which
> contain | character by changing the separator in preferences. On
> Windows it is causing splitting the whole command into 2 parts -
> before and after pipe. As a result 'columns' parameter (after pipe) is
> treated like another command. As a temporal workaround you can set the
> separator to something different in preferences (more characters are
> accepted)  - this should work immediately. I can also revert the
> change.

Before reverting this important fix, perhaps we manage to find a
solution.

> On Linux the characters in parameters are escaped properly probably in
> Popen but not on Windows. Anyone knows how to solve this properly?

I see some escape magic in lib/gis/spawn.c and also here
http://docs.python.org/release/3.1.5/library/subprocess.html

Dunno if that's useful at all...

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to