示例#1
0
文件: util.py 项目: gregsharp/Slicer
def exit(status=EXIT_SUCCESS):
  from slicer import app
  app.commandOptions().runPythonAndExit = False
  app.exit(status)
示例#2
0
def exit(status=EXIT_SUCCESS):
    from slicer import app
    app.commandOptions().runPythonAndExit = False
    app.exit(status)