diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-10-12 15:58:02 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-10-12 15:58:02 (GMT) |
commit | c9e7d77aaaff2b4d3a68de49d396824d8bdf9d34 (patch) | |
tree | af3cfc149670fc1b1a10bc80d1a6083b5f79c3db /Doc | |
parent | 518d393e0ecc88ec884565e0601e174bc7094c9c (diff) | |
download | cpython-c9e7d77aaaff2b4d3a68de49d396824d8bdf9d34.zip cpython-c9e7d77aaaff2b4d3a68de49d396824d8bdf9d34.tar.gz cpython-c9e7d77aaaff2b4d3a68de49d396824d8bdf9d34.tar.bz2 |
Start section for PEP 324
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/whatsnew24.tex | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 03d6b49..b4293e6 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -427,6 +427,28 @@ root:*:0:0:System Administrator:/var/root:/bin/tcsh %====================================================================== +\section{PEP 324: New subprocess Module} + +The standard library provides a number of ways to +execute a subprocess, each of which offers different features and +levels of difficulty. \function{os.system(\var{command})} is easy, but +slow -- it runs a shell process which executes the command -- +and dangerous -- you have to be careful about escaping metacharacters. +The \module{popen2} module offers classes that can capture +standard output and standard error from the subprocess, but the naming +is confusing. + +The \module{subprocess} module cleans all this up, providing a unified +interface that offers all the features you might need. + +% XXX finish writing this section by adding some examples + + +\begin{seealso} +\seepep{324}{subprocess - New process module}{Written and implemented by Peter Astrand, with assistance from Fredrik Lundh and others.} +\end{seealso} + +%====================================================================== \section{PEP 327: Decimal Data Type} Python has always supported floating-point (FP) numbers as a data |