Bugzilla – Bug 5194
Client should --loop using same process pid, for easy termination
Last modified: 2014-10-06 16:19:21
You need to
before you can comment on or make changes to this bug.
This is a follow up to bug 3633. Since it is impossible to replace a process
image on Windows, one must create a new process, which means you get a new pid.
When implementing bug 3633, we decided to use the same approach for UNIX
platforms, even though this is not necessary. This means that you cannot
terminate the looping client by sending a signal to the original PID, and
there's no easy way of finding the new pid. We should change the client so that
the original PID is used on UNIX platforms.
Tester should test on Linux, Mac and Windows.
Verified using ThinLinc client build 4500,
Linux and Mac replaces the process image and the same PID is used while Windows
behaves like before, a new PID for each respawn.
Works as expected.