Fixed bug where -l and -p option flags were non-functional.
This commit is contained in:
parent
a438c4b43b
commit
3bf746f034
@ -49,9 +49,9 @@ for host in args.hosts:
|
|||||||
TermMinHeight = (terminal.get_char_height() * 24) + terminal.get_padding()[1]
|
TermMinHeight = (terminal.get_char_height() * 24) + terminal.get_padding()[1]
|
||||||
# TODO: disable only this terminal widget on child exit
|
# TODO: disable only this terminal widget on child exit
|
||||||
# v.connect("child-exited", lambda term: gtk.main_quit())
|
# v.connect("child-exited", lambda term: gtk.main_quit())
|
||||||
cmd = "/usr/bin/ssh"
|
cmd_str = "/usr/bin/ssh -l " + args.login + " -p " + str(args.port) + " " + host
|
||||||
cmd_args = ["-l '" + args.login + "'", "-p " + str(args.port), host]
|
cmd = cmd_str.split(' ')
|
||||||
terminal.fork_command(cmd, cmd_args)
|
terminal.fork_command(command=cmd[0], argv=cmd)
|
||||||
Terminals[host] = terminal
|
Terminals[host] = terminal
|
||||||
|
|
||||||
### Utility Functions and Vars ###
|
### Utility Functions and Vars ###
|
||||||
|
Loading…
Reference in New Issue
Block a user