bin/cubicweb-ctl.bat
branchstable
changeset 4096 871ff503c23e
parent 3116 8bf500eb01d6
child 5499 2a5cc708c2a0
equal deleted inserted replaced
4095:72fd2d4cc782 4096:871ff503c23e
     5 python -x "%~f0" %*
     5 python -x "%~f0" %*
     6 goto exit
     6 goto exit
     7  
     7  
     8 """
     8 """
     9 # -------------------- Python section --------------------
     9 # -------------------- Python section --------------------
       
    10 import sys
       
    11 from os.path import join, dirname
       
    12 sys.path.insert(0, join(dirname(__file__), '..', '..'))
    10 from cubicweb.cwctl import run
    13 from cubicweb.cwctl import run
    11 import sys
       
    12 run(sys.argv[1:])
    14 run(sys.argv[1:])
    13 
    15 
    14 DosExitLabel = """
    16 DosExitLabel = """
    15 :exit
    17 :exit
    16 rem """
    18 rem """