bin/cubicweb-ctl.bat
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Mon, 26 Oct 2009 10:04:18 +0100
branchstable
changeset 3786 11d98118f0eb
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
force debug mode on cubicweb-ctl start on win32 this prevents a crash (daemon mode not yet supported)

@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 """