🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5590

Spawning processes in DOS

#5590
From: J Doug Smith
Date: Wed, 03 Apr 1991 13:32
10 lines
973 bytes
____

I'm trying to write an application that will run another program and get that program's output so it can be displayed to the user (much like an editor runs a compiler and sends the compiler's output to the user).  Does anyone have any Ideas on how to accomplish this?  Execing another programs certainly is no problem, I just don't see how to get the output from that program.



Doug Smith
IBM Rochester, Dept. 43K
dougs@rchland.iinus1.ibm.com
Technical Details
Message-ID: <1991Apr3.133226.22304@ibmpa.awdpa.ibm.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!panews.awdpa.ibm.com!claude1.rchland.ibm.com!dougs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!panews.awdpa.ibm.com!claude1.rchland.ibm.com!dougs
From: dougs@claude1.rchland.ibm.com (J Doug Smith)
Newsgroups: comp.os.msdos.programmer
Subject: Spawning processes in DOS
Message-ID: <1991Apr3.133226.22304@ibmpa.awdpa.ibm.com>
Date: 3 Apr 91 13:32:26 GMT
Sender: news@ibmpa.awdpa.ibm.com (news id)
Reply-To: dougs@claude1.rchland.ibm.com (J Doug Smith)
Organization: IBM Rochester
Lines: 10