• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)
No Document.

src/e/c/ecell-HEAD/ecell3/trunk/ecell/frontend/model-editor/ecell/ui/model_editor/Runtime.py   ecell(Download)
    def killProcess( self, processID ):
        if os.name == 'nt':
            try:
                subprocess.TerminateProcess( processID, 0 )
            except:
                pass
        else:

src/u/m/umit-HEAD/umitCore/NmapCommand.py   umit(Download)
                # subprocess's method to see how it works.
                # In the meantime, this should not raise any exception because
                # we don't care if it killed the process as it never killed it anyway.
                from subprocess import TerminateProcess
                TerminateProcess(self.command_process._handle, 0)
            except:
                pass