Hi I have a Server/client model using SocketServer module. The server job is to receive test name from the clients and launch the test. the test is launched using subprocess module. I would like the server to keep answering clients and any new jobs to be stacked on a list or queue and launch one after the other, the only restriction I have is the server should not launch the test unless currently running one is completed.
Thanks