bin/cubicweb-ctl.bat
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 23 Nov 2009 16:18:13 +0100
branchstable
changeset 3901 d197c07dcfe5
parent 3116 8bf500eb01d6
child 4096 871ff503c23e
permissions -rw-r--r--
fix https://www.logilab.net/cwo/ticket/481727 the pb lies more in sqlite library, since it's fixed by opening the sqlite database using an absolute path.

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