[Python-Dev] About SSL tests (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Tue Apr 3 06:17:08 CEST 2007
- Previous message: [Python-Dev] About SSL tests
- Next message: [Python-Dev] About SSL tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The problem is that os.kill only works in Unix and Macintosh. So, there's a better way to do this? Or I shall check if I'm in one of those both platforms and only execute the tests there? If you have a compilation of pywin32 (isn't it shipped by default in Python 2.5+?), you can kill the process with win32process.TerminateProcess() .
On Win32, you also have subprocess.TerminateProcess, if you have the subprocess module in the first place.
Regards, Martin
- Previous message: [Python-Dev] About SSL tests
- Next message: [Python-Dev] About SSL tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]