Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c9e7d77a
Commit
c9e7d77a
authored
Oct 12, 2004
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start section for PEP 324
parent
518d393e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
Doc/whatsnew/whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+22
-0
No files found.
Doc/whatsnew/whatsnew24.tex
View file @
c9e7d77a
...
...
@@ -426,6 +426,28 @@ root:*:0:0:System Administrator:/var/root:/bin/tcsh
\end
{
seealso
}
%======================================================================
\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
{
popen
2
}
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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment