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.