forked from datalogics/python-process
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
23 lines (15 loc) · 900 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Python Killable Process
-----------------------
Code wrote by Benjamin Smedberg and Peter Astrand. Excellent work guys!
"I’ve managed, at long last, to solve the problem of launching subprocesses from python.
I have created a python module which can launch a subprocess, wait for the process with a
timeout, and kill that process and all of its sub-subprocesses correctly, on Windows, Mac,
and Linux. Source code is here. It requires python 2.4+ because it subclasses the subprocess
module. On Windows, it only works on Win2k+, and it requires the ctypes module, which comes
with Python 2.5+, or can be installed into earlier versions of Python."
Links
-----
killableprocess.py:
http://benjamin.smedbergs.us/blog/2006-12-11/killableprocesspy/
Adventures in Python: Lanuching Subprocess
http://benjamin.smedbergs.us/blog/2006-11-09/adventures-in-python-launching-subprocesses/