6.8.3 Replacing Older Functions with the subprocess Module

Python 2.4

6.8.3 Replacing Older Functions with the subprocess Module

In this section, "a ==> b" means that b can be used as a replacement for a.

Note: All functions in this section fail (more or less) silently if the executed program cannot be found; this module raises an OSError exception.

In the following examples, we assume that the subprocess module is imported with "from subprocess import *".


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