ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH

Reference
ActivePython 2.5
Python Documentation
Library Reference
17. Interprocess Communication and Networking
17.1 subprocess -- Subprocess management
17.1.1 Using the subprocess Module
17.1.2 Popen Objects
17.1.3 Replacing Older Functions with the subprocess Module
17.2 socket -- Low-level networking interface
17.3 signal -- Set handlers for asynchronous events
17.4 popen2 -- Subprocesses with accessible I/O streams
17.5 asyncore -- Asynchronous socket handler
17.6 asynchat -- Asynchronous socket command/response handler

MyASPN >> Reference >> ActivePython 2.5 >> Python Documentation >> Library Reference >> 17. Interprocess Communication and Networking
ActivePython 2.5 documentation

17.1 subprocess -- Subprocess management

New in version 2.4.

The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return codes. This module intends to replace several other, older modules and functions, such as:

os.system
os.spawn*
os.popen*
popen2.*
commands.*

Information about how the subprocess module can be used to replace these modules and functions can be found in the following sections.



See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved