home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / palmos / pippy-0.6beta-src.tar.gz / pippy-0.6beta-src.tar / pippy-0.6beta-src / src / Lib / dos-8x3 / test_pop.py < prev    next >
Text File  |  2000-12-21  |  350b  |  18 lines

  1. #! /usr/bin/env python
  2. """Test script for popen2.py
  3.    Christian Tismer
  4. """
  5.  
  6. # popen2 contains its own testing routine
  7. # which is especially useful to see if open files
  8. # like stdin can be read successfully by a forked 
  9. # subprocess.
  10.  
  11. def main():
  12.     from os import fork # skips test through ImportError
  13.     import popen2
  14.     popen2._test()
  15.  
  16. main()
  17.  
  18.