🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #32

Getting Error Messages

#32
From: Lee Miller
Date: Sat, 31 Oct 1992 01:18
20 lines
1157 bytes
 I have created a GUI Basically a menu, which calls the proccess the users
 selects.  I use the   error = system (process).  If there is a error
  I get back a non zero number.  And the error message is printed to the 
  stdio.  Is there some command that would let me capture what was sent to 
   stdio and put that in a sting and use it my my program.  Basically I just 
   want to print it out in the GUI rather than the screen.  One thing I do 
   not have the source code to the processes I call from the GUI just the
binaries.  



Thanks for any help on this.



  Beware of Apples just look at what they did to Adam

  Unix and the World Unixes with you
  Vax and you Vax alone
Technical Details
Message-ID: <1992Oct31.011818.19300@sunova.ssc.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!linac!sunova!scum!lmiller

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!linac!sunova!scum!lmiller
From: lmiller@scum.ssc.gov (Lee Miller)
Newsgroups: comp.unix.programmer
Subject: Getting Error Messages
Keywords: (Done in C)
Message-ID: <1992Oct31.011818.19300@sunova.ssc.gov>
Date: 31 Oct 92 01:18:18 GMT
Article-I.D.: sunova.1992Oct31.011818.19300
Sender: lmiller@scum (Lee Miller)
Organization: Superconducting Super Collider Laboratory
Lines: 20
Nntp-Posting-Host: scum