bin/cubicweb-ctl.bat
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 16 Oct 2009 18:41:40 +0200
branchstable
changeset 3712 4b8d7838d74d
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
revert change, but there's something fishy here

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