bin/cubicweb-ctl.bat
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 12 Nov 2009 13:46:47 +0100
branchstable
changeset 3828 335e40fdb5a5
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
when instance is started normally (eg not in debug mode), check versions before daemonization

@echo off
rem = """-*-Python-*- script
rem -------------------- DOS section --------------------
rem You could set PYTHONPATH or TK environment variables here
python -x "%~f0" %*
goto exit
 
"""
# -------------------- Python section --------------------
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])

DosExitLabel = """
:exit
rem """