bin/cubicweb-ctl.bat
author Aurelien Campeas
Wed, 09 Sep 2009 17:46:30 +0200
branch3.5
changeset 3146 cfc4344023f2
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
have a better make_uid function, esp. useful for win32 as collisions are frequents with the old one

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