Staging
v0.8.1
https://foss.heptapod.net/mercurial/hgview
Revision b2205878af845064121d894cecd22ecf4cf65a7a authored by David Douard on 27 May 2009, 07:46:20 UTC, committed by David Douard on 27 May 2009, 07:46:20 UTC
1 parent 43759dc
Raw File
Tip revision: b2205878af845064121d894cecd22ecf4cf65a7a authored by David Douard on 27 May 2009, 07:46:20 UTC
make Ctrl+C (in the TERM) quit the app
Tip revision: b220587
hgqv.bat
@echo off
rem = """-*-Python-*- script
rem -------------------- DOS section --------------------
rem You could set PYTHONPATH
python -x %~f0 %*
goto exit
 
"""
# -------------------- Python section --------------------
from PyQt4 import QtCore, QtGui
from hgqvlib.qt4 import main as hgqv
hgqv.main()

DosExitLabel = """
:exit
rem """
back to top