bin/cubicweb-ctl.bat
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 16 Sep 2009 18:14:43 +0200
branch3.5
changeset 3269 02a918f108a7
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
prevent some command providers to stop using cubicweb-ctl (current case : goactl when vobject is not there)

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