Skip to content

Commit b834adf

Browse files
author
Felix Exner
authored
Merge pull request #3 from ipa-lth/master
Blocking popup: "connection refused"
2 parents 73b2cd6 + 6d708af commit b834adf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/main/java/com/fzi/externalcontrol/impl/RequestProgram.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,9 @@ public String sendCommand(String command) {
7474
}
7575
socket.close();
7676
} catch (IOException e) {
77-
result = "popup(\""
78-
+ "The connection to the remote PC could not be established. "
79-
+ "\", title =\""
80-
+ "connection refused"
81-
+ "\")\nsync()";
77+
result = "popup(\"The connection to the remote PC could not be established. \","
78+
+ "\"connection refused\", False, True, blocking=True)\n"
79+
+ "sync()";
8280
}
8381
return result;
8482
}

0 commit comments

Comments
 (0)