home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / programm / 3821 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1008 b 

  1. Path: sparky!uunet!munnari.oz.au!uniwa!pico!conrad
  2. From: conrad@pico.OZ (Conrad Drake)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Mid-pipe abort Handling?
  5. Message-ID: <927@pico.OZ>
  6. Date: 28 Jul 92 01:32:48 GMT
  7. Reply-To: conrad@pico.qpsx.oz.au
  8. Organization: QPSX Communications
  9. Lines: 23
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. Hi,
  13.    a question OS2 gurus from a friend. In a make file he's used the
  14. following construct
  15.  
  16. findfiles | prog1 | prog2
  17.  
  18. Now, the piping operation only returns the status of prog2.  Is there a
  19. way of accessing the return status of the other piped processes? 
  20.  
  21. At the moment he's having to pass information along through prog1 &
  22. prog2, which is unsatisfactory.
  23.  
  24. Thanks in anticipation,
  25.  
  26. Conrad DRake
  27. ---
  28. "There's something stirring in my loins and it isn't the spirit of Jesus"
  29.                 - Helen Razor, JJJ announcer, 1992.
  30.  
  31. Email: conrad@pico.qpsx.oz.au
  32. Snail: QPSX Communications, Private Bag 24, West Perth 6005, Australia. 
  33. Numbers:(ph) +61 9 324 1641, (fx) +61 9 321 2984 (dod) 0604
  34.  
  35.