🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: redirecting stderr: can it be done?

#6103
From: Tom Almy
Date: Thu, 09 May 1991 14:48
24 lines
1272 bytes
In article <3747@intvax.UUCP> drstrip@intvax.UUCP (David R. Strip) writes:
>Is there anyway to capture output on stderr from
>an application? The unix-ism of >& does not
>work on ms-dos. 

If you run the shareware command.com replacement, 4DOS, you can redirect
stderr using >&.

>Barring an actual redirect
>operator, can someone point me to a pd program
>to capture all screen output from an app. For
>what its worth, the app is compiled in Turbo-C
>if that makes a difference. 

If the Turbo-C app is writing to the display directly (using the conio.h
package) then you are out of luck, but as long as it is using stderr
4DOS will do the job.



-- 
Tom Almy
toma@sail.labs.tek.com
Standard Disclaimers Apply
Technical Details
Message-ID: <9494@sail.LABS.TEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!zephyr.ens.tek.com!tekgen!sail!toma
References: <3747@intvax.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!zephyr.ens.tek.com!tekgen!sail!toma
From: toma@sail.LABS.TEK.COM (Tom Almy)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.apps
Subject: Re: redirecting stderr: can it be done?
Keywords: stderr, redirect
Message-ID: <9494@sail.LABS.TEK.COM>
Date: 9 May 91 14:48:11 GMT
References: <3747@intvax.UUCP>
Reply-To: toma@sail.LABS.TEK.COM (Tom Almy)
Followup-To: alt.msdos.programmer
Organization: Tektronix, Inc., Beaverton,  OR.
Lines: 24