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/2007-April/072459.html below:

[Python-Dev] About SSL tests

[Python-Dev] About SSL tests [Python-Dev] About SSL testsChristian Heimes lists at cheimes.de
Tue Apr 3 21:28:27 CEST 2007
> I'd be willing to look at adding it, if the group thinks it's the right 
> thing to do.

I like the idea and I'm proposing to add two more methods to subprocess
Popen.

class Popen(...):
    ...
    def signal(self, signal):
        """Send a signal to the process (UNIX only)

        signal is constant from the signal module
        """

    def terminate(self, force=False):
        """Terminate the process

        On UNIX terminate(False) is equivalent to signal(SIGTERM) and
        terminate(True) to signal(SIGKILL).

        On Windows ... (does Windows support a forced terminate?)
        """

Christian

More information about the Python-Dev mailing list

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