#528: wxGUI cmd: r.mapcalc fails (quoting + args with spaces) -----------------------+---------------------------------------------------- Reporter: neteler | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: critical | Milestone: 6.4.0 Component: wxGUI | Version: svn-develbranch6 Resolution: | Keywords: Platform: All | Cpu: All -----------------------+---------------------------------------------------- Comment (by hamish):
Hi, I just added a patch to this ticket (vs devbr6) which roughly uses `shlex.split(command)` to parse the command string in a shell-like way. It doesn't actually work but I think it gets close. something like the `command = ' '.join(command)` from the Xterm fn is happening so it just tries to execute the first letter. Hopefully a more learned pythoner can quickly finish the job from here. Hamish -- Ticket URL: <https://trac.osgeo.org/grass/ticket/528#comment:14> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev