bin/cubicweb-ctl.bat
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 08 Dec 2009 18:04:29 +0100
changeset 4050 f2e1bb4b7536
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
should use match_rtype, not entity_implements in such cases

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