author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Mon, 11 Jan 2010 14:13:26 +0100 | |
branch | stable |
changeset 4219 | 87203a0a3a81 |
parent 4218 | deb2dcffb301 |
child 4220 | 713434095f0d |
etwist/server.py | file | annotate | diff | comparison | revisions |
--- 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