← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #228924]: How to terminate a script which involves SimpleXMLRPCServer gracefully

 

Question #228924 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/228924

    Status: Open => Answered

RaiMan proposed the following answer:
There is no "graceful" termination for SimpleXMLRPCServer, if you use it
this way, since per definition the process has to be killed.

So if you want some "graceful" termination, you have to make a thread,
that in turn runs the server in a subthread and then waits for a signal
to terminate.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.