newest setup_exe.py, thanks niphlod

This commit is contained in:
Massimo Di Pierro
2012-06-08 15:20:25 -05:00
parent e2592a23b4
commit 52a138ed18
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -17,6 +17,11 @@ import gluon.widget
# Start Web2py and Web2py cron service!
if __name__ == '__main__':
try:
from multiprocessing import freeze_support
freeze_support()
except:
sys.stderr.write('Sorry, -K only supported for python 2.6-2.7\n')
gluon.widget.start(cron=True)