~mnet-maintainers/mnet-wsgi/main

« back to all changes in this revision

Viewing changes to server-wrapper.py

  • Committer: Matt Oquist
  • Date: 2011-01-12 22:54:21 UTC
  • Revision ID: moquist@kant-20110112225421-zz31jti4av3d9qzu
make the windows wrapper a lot more useful -- turns out to be  useful in general to keep mnet running as reliably as possible, in combination with a scheduled task to run it every 5 minutes or so

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    print "This is only necessary for Windows."
66
66
    sys.exit(1)
67
67
  if trylock() :
 
68
    os.chdir(config.WINDIR)
68
69
    os.system(config.WINCMD)
69
70
  else :
70
71
    print "no lock for me"