title: How do I start python XMLRPC server in the background?
body: <p>I wrote a python XMLRPC server for my web application. The problem is whenever I start the server from shell and exit, xmlrpc server stops as well. I tried executing server script from another file thinking that it will continue to run in the background but that didn't work. Here's the code used to start a server. </p>
  
  <pre><code>host = 'localhost'
  port = 8000
  server = SimpleXMLRPCServer.SimpleXMLRPCServer((host, port))
  server.register_function(getList)
  server.serve_forever()
  </code></pre>
  
  <p>In the shell I just do <code>&gt;&gt;python MyXmlrpcServer.py</code> to start a server.</p>
  
  <p>What do I do to be able to start a server and keep it running?</p>