home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / openloo / 3557 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.4 KB  |  37 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!decwrl!csus.edu!netcom.com!kemnitz
  3. From: kemnitz@netcom.com (Greg Kemnitz)
  4. Subject: Re: Redirecting stdout/stderr of child program
  5. Message-ID: <w6_nz+b.kemnitz@netcom.com>
  6. Date: Fri, 21 Aug 92 22:30:41 GMT
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. References: <1992Aug21.152603.17253@bmw.mayo.edu> <k6_n80=.kemnitz@netcom.com>
  9. Lines: 26
  10.  
  11. In article <1992Aug21.152603.17253@bmw.mayo.edu> vdp@mayo.edu writes:
  12. =Hi :
  13. =
  14. =     I have made a XView Toolkit based program for starting some programs
  15. =(X Window Based programs) via  fork()/exec()ing using button call backs etc.
  16. =I would like to gather the stdout/stderr of the child programs and put it
  17. =out in a separate Text Window as I would not like the stdout/stderr of these
  18. =programs to go to the parent cmd/shelltool (or console) and clutter it.
  19. =Is there anyway by which I can redirect the stdout/err ??
  20. =
  21. =--- Vinayak Dutt
  22. =-------------------------------------------------------
  23. =                                           vinayak dutt
  24. =            Medical Sciences Building (2)   Mayo Clinic
  25. =                                     Rochester MN 55905
  26. =                                   e-mail: vdp@mayo.edu
  27. =-------------------------------------------------------
  28. =
  29. =
  30. =
  31.  
  32. Write a filter to display anything(another X Window Based programs).
  33. Then exec (your X Window Based programs | filter).
  34.  
  35.  
  36.  
  37.