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/030649.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?Tim Peters tim.one@comcast.net
Tue, 03 Dec 2002 00:08:49 -0500
[Tim]
> Why do you need to kill a process externally?  For example, why
> can't you make "please stop now" a part of the protocol,
> so that a process can terminate itself gracefully when told to?

[Skip Montanaro]
> I start the background ssh process from within pop3proxy, so it
> seems to me I ought to be the one to terminate it.

OK, that wasn't clear to me before.

> 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.

No, I'm not asking you to be silly <wink>.  The Unix signal model isn't
going to fly for you on Windows regardless.




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