We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 342dad2 commit 97c0b41Copy full SHA for 97c0b41
easyterm/easyterm.py
@@ -2,6 +2,7 @@
2
import os
3
import gi
4
import sys
5
+import shlex
6
gi.require_version('Gtk', '3.0')
7
gi.require_version('Handy', '1')
8
gi.require_version('Vte', '2.91')
@@ -204,7 +205,8 @@ def do_command_line(self, command_line):
204
205
if options.contains("cwd"):
206
cwd = options.lookup_value("cwd").get_string()
207
if options.contains("command"):
- command = options.lookup_value("command").get_string().split(" ")
208
+ command = shlex.split(options.lookup_value("command").get_string())
209
+
210
if options.contains("env"):
211
env = options.lookup_value("env").get_string().split(" ")
212
if options.contains("actions"):
0 commit comments