Mail Archives: djgpp/1999/12/26/15:29:16
From: | Laurence Withers <lwithers AT lwithers DOT demon DOT co DOT uk>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Accessing stdin, stdout and stderr?
|
Date: | Sun, 26 Dec 1999 18:01:16 +0000
|
Message-ID: | <D3oJTCAsflZ4EASq@lwithers.demon.co.uk>
|
NNTP-Posting-Host: | lwithers.demon.co.uk
|
X-NNTP-Posting-Host: | lwithers.demon.co.uk:194.222.80.1
|
X-Trace: | news.demon.co.uk 946231383 nnrp-09:22290 NO-IDENT lwithers.demon.co.uk:194.222.80.1
|
X-Complaints-To: | abuse AT demon DOT net
|
MIME-Version: | 1.0
|
X-Newsreader: | Turnpike (32) Version 4.01 <WCcCG$mmNL32sYSf46vBeC80CR>
|
Lines: | 13
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi,
A program I am writing runs external programs through the "system"
command. However, I need to access their stdin, stdout and stderr
streams. I have looked at the 'redir' sources, but they just redirect
through file handles. I need more control than this: I need to
immediately have access to stdout and stderr, and stdin will be handled
by my own keyboard handler. Is this possible?
Well, thanks for your time + help, and bye for now,
--
Laurence Withers, lwithers AT lwithers DOT demon DOT co DOT uk
http://www.lwithers.demon.co.uk/
- Raw text -