home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / perl / 7638 < prev    next >
Encoding:
Text File  |  1992-12-31  |  913 b   |  30 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!florida!essbaum
  3. From: essbaum@rchland.vnet.ibm.com (Alexander Essbaum)
  4. Subject: Re: fork and STDOUT
  5. Sender: news@rchland.ibm.com
  6. Message-ID: <1992Dec31.191209.10988@rchland.ibm.com>
  7. Date: Thu, 31 Dec 1992 19:12:09 GMT
  8. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  9. References: <1992Dec30.223911.16297@rchland.ibm.com> <1htthbINNqg9@shelley.u.washington.edu>
  10. Nntp-Posting-Host: florida.rchland.ibm.com
  11. Organization: IBM Rochester
  12. Lines: 16
  13.  
  14. it's amazing how much better my brain functions immediately after clicking
  15. on "send".
  16.  
  17. so now i got the output in the right order (still buffered, but the "die"
  18. printout comes after the STDOUT printout).
  19.  
  20. i moved the
  21.  
  22.     select(STDERR); $| = 1;
  23.     select(STDOUT); $| = 1;
  24.  
  25. into the script called by $cmd.
  26.  
  27. still have to unbuffer the output, though.
  28.  
  29. axel
  30.