From cd04c7dbb9acf5dd6a7cf542179a5a354918c6e2 Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Wed, 7 Oct 2020 17:31:47 +0200 Subject: [PATCH] Change the name of the offscreen rendering option to its new name to avoid a warning when launching pvserver --- src/PVServerService/ENGINE/PVSERVER_impl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PVServerService/ENGINE/PVSERVER_impl.py b/src/PVServerService/ENGINE/PVSERVER_impl.py index 21b4502d0..77be24200 100644 --- a/src/PVServerService/ENGINE/PVSERVER_impl.py +++ b/src/PVServerService/ENGINE/PVSERVER_impl.py @@ -108,7 +108,7 @@ class PVSERVER_impl(object): opt = [] if port <= 0: port = self.__getFreePort(self.PVSERVER_DEFAULT_PORT) - self.pvserverPop = subp.Popen([pvServerPath, "--multi-clients", "--server-port=%d" % port, "--use-offscreen-rendering"]) + self.pvserverPop = subp.Popen([pvServerPath, "--multi-clients", "--server-port=%d" % port, "--force-offscreen-rendering"]) sleep(3) # Give some time to the server to start up to avoid # ugly messages on the client side saying that it cannot connect # Is PID still alive? If yes, consider that the launch was successful @@ -142,4 +142,3 @@ class PVSERVER_impl(object): return self.isGUIConnected - \ No newline at end of file -- 2.39.2