[Python-checkins] python/dist/src/Doc/whatsnew whatsnew24.tex, 1.108, 1.109

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Tue Oct 12 17:58:05 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv308

Modified Files:
	whatsnew24.tex 
Log Message:
Start section for PEP 324

Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -d -r1.108 -r1.109
--- whatsnew24.tex	11 Oct 2004 19:20:06 -0000	1.108
+++ whatsnew24.tex	12 Oct 2004 15:58:02 -0000	1.109
@@ -427,6 +427,28 @@
 
 
 %======================================================================
+\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



More information about the Python-checkins mailing list