Force shutdown, fix cx_Freeze startup
This commit is contained in:
parent
9fb8e67164
commit
aaf80f4e2d
@ -36,7 +36,6 @@ def set_proc_name(name):
|
||||
libc.prctl(15, byref(buff), 0, 0, 0)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if sys.platform.startswith('linux'): set_proc_name('FAHControl')
|
||||
|
||||
# If present, remove the Launch Services -psn_xxx_xxx argument
|
||||
|
@ -710,7 +710,7 @@ class FAHControl(SingleAppServer):
|
||||
self.db.flush_queued()
|
||||
except Exception, e: print e
|
||||
|
||||
self.shutdown() # Shutdown SingleAppServer
|
||||
sys.exit(0) # Force shutdown
|
||||
|
||||
|
||||
def set_status(self, text):
|
||||
|
Loading…
x
Reference in New Issue
Block a user