A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/030640.html below:

how to kill process on Windows started with os.spawn?

[Python-Dev] RE: how to kill process on Windows started with os.spawn? [Python-Dev] RE: how to kill process on Windows started with os.spawn?Skip Montanaro skip@pobox.com
Mon, 2 Dec 2002 12:36:47 -0600
    >> In my environment I need to tunnel SB's pop3proxy app through an ssh
    >> connection.  

    Tim> Why do you need to kill a process externally?  For example, why
    Tim> can't you make "please stop now" a part of the protocol, so that a
    Tim> process can terminate itself gracefully when told to?

I start the background ssh process from within pop3proxy, so it seems to me
I ought to be the one to terminate it.  As for protocol, I'm not aware of
another way to terminate a running ssh other than to call kill(2) with a
specified signal.  That's more-or-less the Unix way.  I don't have the
luxury of modifying ssh to understand some application-specific protocol.

Skip



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4