🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2470

Directing StdIO while in Windows (for a Shell)

#2470
From: David Lawson
Date: Tue, 07 May 1991 03:53
22 lines
1368 bytes
NetFolk,

    I am trying to get the tools together to write a shell for windows.
In particular I want to be able to start either DOS or windows applications
and get the output/send input to the the DOS guys.  Starting and interacting
with the windows EXEs is no problem since they don't have the concept of
stdio, but lookout for the DOS guys.  

Is there anyway I can route the output from the DOS command back to me so 
I can display it???

Also, can I send input to the DOS command form my window???

The best I can come up with is a device driver that takes the
DOS input/output and routes it to the window.  I'm not even entirely sure
if I'll be able to link a device driver this intimately with windows but
this is my best lead yet.  I would appreciate any insights and would be happy
to share any gleaned information (or success stories/nightmares) with anyone.

    Thanks in advance

     Dave Lawson    dbl@h.cs.wvu.wvnet.edu
Technical Details
Message-ID: <1505@h.cs.wvu.wvnet.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!haven.umd.edu!cs.wvu.wvnet.edu!dbl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!haven.umd.edu!cs.wvu.wvnet.edu!dbl
From: dbl@cs.wvu.wvnet.edu (David Lawson)
Newsgroups: comp.windows.ms.programmer
Subject: Directing StdIO while in Windows (for a Shell)
Keywords: Windows Shell
Message-ID: <1505@h.cs.wvu.wvnet.edu>
Date: 7 May 91 03:53:26 GMT
Organization: WVU Statistics and Computer Science
Lines: 22