Does anybody know how to stop the dia.py script on a connectport device ( CP x4 for example)?
The reason why we wanted to do this is to debug a custom presentation driver that we have written. We cannot check how a clean instance of the driver would behave by running “python dia.py” (with a dia.zip containing the presentation driver), because the CP x4 is always running another instance of dia.py. The “who” command always shows this.
We tried a trick outlined in one of threads in this forum, where a socket server integrated in the presentation driver calls sys.exit() as soon as a client makes a connection to it. We observed that the socket server correctly exits but mysteriously dia.py is still there on the list shown by the “who” command.