Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit 55c6860

Browse files
author
Bart
committed
Fixed freeze when terminal is open
1 parent d27e918 commit 55c6860

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/ListBoxRow.vala

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,7 @@ public class ListBoxRow : Gtk.ListBoxRow {
9494

9595
try {
9696
var terminalName = settings.get_string("terminalname");
97-
Process.spawn_command_line_sync (terminalName + " --execute='" + sshCommand + "'",
98-
out result,
99-
out error,
100-
out status);
101-
102-
if(error != null && error != ""){
103-
new Alert("An error occured",error);
104-
}
105-
97+
Process.spawn_command_line_async (terminalName + " --execute='" + sshCommand + "'");
10698
} catch (SpawnError e) {
10799
new Alert("An error occured", e.message);
108100
}

0 commit comments

Comments
 (0)