Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(126)  |  Call(124)  |  Derive(0)  |  Import(2)

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/win32/lib/win32serviceutil.py   TrustRouter(Download)
    g_debugService = cls(argv)
    # Setup a ctrl+c handler to simulate a "stop"
    win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, True)
    try:
        g_debugService.SvcRun()
    finally:
        win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, False)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32/lib/win32serviceutil.py   main(Download)
    g_debugService = cls(argv)
    # Setup a ctrl+c handler to simulate a "stop"
    win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, True)
    try:
        g_debugService.SvcRun()
    finally:
        win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, False)

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/win32/lib/win32serviceutil.py   SublimeSpeech(Download)
    g_debugService = cls(argv)
    # Setup a ctrl+c handler to simulate a "stop"
    win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, True)
    try:
        g_debugService.SvcRun()
    finally:
        win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, False)

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/win32/lib/win32serviceutil.py   SublimeSpeech(Download)
    g_debugService = cls(argv)
    # Setup a ctrl+c handler to simulate a "stop"
    win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, True)
    try:
        g_debugService.SvcRun()
    finally:
        win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, False)

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/win32/lib/win32serviceutil.py   einstein(Download)
    g_debugService = cls(argv)
    # Setup a ctrl+c handler to simulate a "stop"
    win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, True)
    try:
        g_debugService.SvcRun()
    finally:
        win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, False)

src/l/a/landline-server-HEAD/co.whatisuplabs.ldln/lib/play/python/Lib/site-packages/win32/lib/win32serviceutil.py   landline-server(Download)
    g_debugService = cls(argv)
    # Setup a ctrl+c handler to simulate a "stop"
    win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, True)
    try:
        g_debugService.SvcRun()
    finally:
        win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, False)

src/r/e/restcommander-HEAD/play-1.2.4/python/Lib/site-packages/win32/lib/win32serviceutil.py   restcommander(Download)
    g_debugService = cls(argv)
    # Setup a ctrl+c handler to simulate a "stop"
    win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, True)
    try:
        g_debugService.SvcRun()
    finally:
        win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, False)

src/h/e/heroku-playframework-HEAD/play-1.2.2RC1/python/Lib/site-packages/win32/lib/win32serviceutil.py   heroku-playframework(Download)
    g_debugService = cls(argv)
    # Setup a ctrl+c handler to simulate a "stop"
    win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, True)
    try:
        g_debugService.SvcRun()
    finally:
        win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, False)

src/j/f/jfinal-app-HEAD/jfgen/python/Lib/site-packages/win32/lib/win32serviceutil.py   jfinal-app(Download)
    g_debugService = cls(argv)
    # Setup a ctrl+c handler to simulate a "stop"
    win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, True)
    try:
        g_debugService.SvcRun()
    finally:
        win32api.SetConsoleCtrlHandler(_DebugCtrlHandler, False)

src/s/k/skink-HEAD/skink/lib/cherrypy/process/win32.py   skink(Download)
            return
 
        result = win32api.SetConsoleCtrlHandler(self.handle, 1)
        if result == 0:
            self.bus.log('Could not SetConsoleCtrlHandler (error %r)' %
 
        try:
            result = win32api.SetConsoleCtrlHandler(self.handle, 0)
        except ValueError:
            # "ValueError: The object has not been registered"

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8  Next