Fix -e to pass an array not a string
This commit is contained in:
parent
95bba138f9
commit
9f7bbfe07d
|
@ -170,7 +170,7 @@ class TerminatorTerm:
|
||||||
login = self.gconf_client.get_bool (self.profile + "/login_shell") or False
|
login = self.gconf_client.get_bool (self.profile + "/login_shell") or False
|
||||||
|
|
||||||
if self.command:
|
if self.command:
|
||||||
args = self.command
|
args = [self.command]
|
||||||
shell = self.command
|
shell = self.command
|
||||||
elif self.gconf_client.get_bool (self.profile + "/use_custom_command") == True:
|
elif self.gconf_client.get_bool (self.profile + "/use_custom_command") == True:
|
||||||
args = self.gconf_client.get_string (self.profile + "/custom_command").split ()
|
args = self.gconf_client.get_string (self.profile + "/custom_command").split ()
|
||||||
|
|
Loading…
Reference in New Issue