Fix -e to pass an array not a string

This commit is contained in:
Chris Jones 2008-01-28 23:28:31 +00:00
parent 95bba138f9
commit 9f7bbfe07d
1 changed files with 1 additions and 1 deletions

View File

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