branch | stable |
changeset 4219 | 87203a0a3a81 |
parent 4212 | ab6573088b4a |
child 4221 | da84ca26896d |
--- a/etwist/server.py Sat Jan 09 15:31:37 2010 +0100 +++ b/etwist/server.py Mon Jan 11 14:13:26 2010 +0100 @@ -387,6 +387,9 @@ reactor.listenTCP(port, channel.HTTPFactory(website)) logger = getLogger('cubicweb.twisted') if not debug: + if sys.platform == 'win32': + print "Under windows, you must use the service management commands (e.g : 'net start my_instance)'" + sys.exit(0) print 'instance starting in the background' if daemonize(): return # child process