bin/cubicweb-ctl.bat
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 21 Sep 2009 15:55:40 +0200
branchstable
changeset 3342 8b30ae9c4e67
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
[javascript] make inlinedform-added event bindable $(form).trigger('inlinedform-added') was not usable since form had no existence outside the inner callback. Use the general CubicWeb object to trigger the event so it's easy to bind a callback wherever it's needed.

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