bin/cubicweb-ctl.bat
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 21 Sep 2009 17:04:19 +0200
branchstable
changeset 3343 383b42263bb1
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
[validatecontroller] allow additional args to be passed to the js callback

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