Browse Source

use utils.split() instead

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44100 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 years ago
parent
commit
ab557f3734
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gui/wxpython/gui_modules/prompt.py

+ 2 - 2
gui/wxpython/gui_modules/prompt.py

@@ -888,9 +888,9 @@ class GPromptSTC(GPrompt, wx.stc.StyledTextCtrl):
             
             # parse command into list
             try:
-                cmd = shlex.split(str(line))
+                cmd = utils.split(str(line))
             except UnicodeError:
-                cmd = shlex.split(utils.EncodeString((line)))
+                cmd = utils.split(utils.EncodeString((line)))
             
             #  send the command list to the processor 
             self.parent.RunCmd(cmd)