#528: wxGUI cmd: r.mapcalc fails (quoting + args with spaces) -----------------------+---------------------------------------------------- Reporter: neteler | Owner: [email protected] Type: defect | Status: new Priority: critical | Milestone: 6.4.0 Component: wxGUI | Version: svn-develbranch6 Resolution: | Keywords: Platform: All | Cpu: All -----------------------+---------------------------------------------------- Comment (by martinl):
Replying to [comment:14 hamish]: > 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. Modified path applied in trunk (r37395), devbr6 (r37396) and relbr64 (r37397). Testing welcomed ... Martin -- Ticket URL: <https://trac.osgeo.org/grass/ticket/528#comment:15> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
