bin/cubicweb-ctl.bat
branchstable
changeset 5499 2a5cc708c2a0
parent 4096 871ff503c23e
equal deleted inserted replaced
5497:96fd339f7917 5499:2a5cc708c2a0
     6 goto exit
     6 goto exit
     7  
     7  
     8 """
     8 """
     9 # -------------------- Python section --------------------
     9 # -------------------- Python section --------------------
    10 import sys
    10 import sys
    11 from os.path import join, dirname
    11 from os.path import join, dirname, normpath
    12 sys.path.insert(0, join(dirname(__file__), '..', '..'))
    12 sys.path.insert(0, normpath(join(dirname(__file__), '..', '..')))
    13 from cubicweb.cwctl import run
    13 from cubicweb.cwctl import run
    14 run(sys.argv[1:])
    14 run(sys.argv[1:])
    15 
    15 
    16 DosExitLabel = """
    16 DosExitLabel = """
    17 :exit
    17 :exit