summaryrefslogtreecommitdiffstats
path: root/Lib/popen2.py
Commit message (Collapse)AuthorAgeFilesLines
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-0/+27
| | | | | | | | | | | | | | | | | | who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay.
* Calling _cleanup() does not guarantee that all processes haveGuido van Rossum1999-04-201-1/+2
| | | | | | terminated; this makes the final assert in the self-test code fail if the parent runs faster than the children. Fix this by calling wait() on the remaining children instead.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-55/+55
|
* Add optional bufsize argument to various calls so we can make theGuido van Rossum1997-09-291-8/+8
| | | | | | | os.fdopen() calls unbuffered. I presume that it's enough if we can make all three of them (for stdin, stdout, and stderr) unbuffered and don't need to specify different buffer sizes per file -- that would complicate the interface more than I care for.
* The command can now either be a string (as before) or a list ofGuido van Rossum1997-09-181-3/+4
| | | | | arguments for execvp (for those who don't want the shell's argument parsing).
* Rewrite using class, to make waiting for processes possible;Guido van Rossum1997-08-111-31/+79
| | | | by default children are waited for automatically.
* Change inspired by Tommy Burnette to add an interface to get stderr, too.Guido van Rossum1997-04-211-4/+19
|
* pass the command to sh -cGuido van Rossum1995-08-071-1/+1
|
* new filesGuido van Rossum1995-01-121-0/+35