Commit Graph

5 Commits

Author SHA1 Message Date
Moshe Zadka
fc3fc337d0 Checking in patch #103478 -- makes popen2 and fork1 tested on BeOS.
Tested for not breaking builds on Linux.
2001-01-30 18:35:32 +00:00
Tim Peters
3620857d60 The "more" cmd varies across Windows flavors, sometimes adding stray
newlines at the start or end.  Fiddle test_popen2 and popen2._test() to
tolerate this.  Also change all "assert"s in these tests to raise
explicit exceptions, so that python -O doesn't render them useless.
Also, in case of error, make the msg display the reprs of what we
wrote and what we read, so we can tell exactly why it's failing.
2000-09-01 20:38:55 +00:00
Fred Drake
31f182e830 Added os.popen2() and os.popen3() for non-Windows platforms. 2000-08-28 17:20:05 +00:00
Fredrik Lundh
9407e553c0 -- changed test to work on platforms which have os.popen
but no os.fork
2000-07-27 07:42:43 +00:00
Guido van Rossum
59e4f37d76 Test for popen2 module, by Chris Tismer. 1999-03-11 13:26:23 +00:00