Changeset 1436
- Timestamp:
- 11/18/06 13:20:23
- Files:
-
- trunk/cherrypy/_cpengine.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cpengine.py
r1434 r1436 124 124 if sys.platform == "win32": 125 125 args = ['"%s"' % arg for arg in args] 126 os.execv(sys.executable, args) 126 127 # Some platforms (OS X) will error if all threads are not 128 # ABSOLUTELY terminated. See http://www.cherrypy.org/ticket/581. 129 while True: 130 try: 131 os.execv(sys.executable, args) 132 break 133 except OSError, x: 134 if x.errno != 45: 135 raise 127 136 128 137 def autoreload(self):

