bin/cubicweb-ctl.bat
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 23 Sep 2009 08:42:52 +0200
changeset 3376 f5c69485381f
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
[appobjects] use __regid__ instead of __id__, more explicit

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