Skip to content

Commit 6d708af

Browse files
committed
Blocking popup: "connection refused"
Add sync() after blocking popup
1 parent 73b2cd6 commit 6d708af

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)