Did I find the right examples for you? yes no

All Samples(274)  |  Call(274)  |  Derive(0)  |  Import(0)
Terminate the process with SIGTERM
            

src/n/i/nipy-0.3.0/tools/run_log_examples.py   nipy(Download)
        finally:
            if proc.poll() is None: # In case we get killed
                proc.terminate()
            stdout_log.close()
            stderr_log.close()
        finally:
            if proc.poll() is None: # In case we get killed
                proc.terminate()
        return asstr(stdout), asstr(stderr), proc.returncode
 

src/p/y/python-emotiv-HEAD/examples/thesis-bci.py   python-emotiv(Download)
    try:
        headset.disconnect()
        ssvepd.terminate()
        ssvepd.wait()
        dspd.join(0)

src/p/y/python-emotiv-HEAD/examples/yes-no-bci.py   python-emotiv(Download)
        headset.disconnect()
        print "Terminating ssvepd..."
        ssvepd.terminate()
        print "Waiting ssvepd termination..."
        ssvepd.wait()

src/m/i/mitmproxy-0.10.1/examples/mitmproxywrapper.py   mitmproxy(Download)
                popen.wait()
            except KeyboardInterrupt:
                popen.terminate()
 
    @contextlib.contextmanager

src/b/i/bitcurator-HEAD/python/bc_reports_tab.py   bitcurator(Download)
            self.process.terminate()
        else:
            Popen.terminate(self.process)
 
 
            self.process.terminate()
        else:
            Popen.terminate(self.process)
 
# Thread for running the identify_filenames command
            self.process.terminate()
        else:
            Popen.terminate(self.process)
 
class bcThread_rep(threading.Thread):
            self.process.terminate()
        else:
            Popen.terminate(self.process)
 
# This is the thread which spins in a loop till the other thread which

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/IPython/core/magics/script.py   antisocial(Download)
                    print "Process is interrupted."
                    return
                p.terminate()
                time.sleep(0.1)
                if p.poll() is not None:

src/i/p/ipython-2.0.0/IPython/core/magics/script.py   ipython(Download)
                    print("Process is interrupted.")
                    return
                p.terminate()
                time.sleep(0.1)
                if p.poll() is not None:

src/i/p/ipython-HEAD/IPython/core/magics/script.py   ipython(Download)
                    print("Process is interrupted.")
                    return
                p.terminate()
                time.sleep(0.1)
                if p.poll() is not None:

src/s/a/sage-HEAD/src/sage/geometry/lattice_polytope.py   sage(Download)
            # only be an issue on Cygwin).
            try:
                p.terminate()
            except OSError:
                pass
    os.remove(input_file_name)
    try:
        p.terminate()
    except OSError:
        pass

src/b/c/bc-HEAD/intermediate/doit/doitmagic.py   bc(Download)
                    print("Process is interrupted.")
                    return
                p.terminate()
                time.sleep(0.1)
                if p.poll() is not None:

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