|
@@ -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)
|