🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13403

how can I redirect stdin/out of a system call?

#13403
From: Frank Birbacher
Date: Wed, 15 Oct 2003 18:53
7 lines
1152 bytes
Hi!

I want to start programs from within my program, and I want to feed the 
child program my information, and I want to retrive the output of the 
child program. What possibilities are there?

Frank
Technical Details
Message-ID: <3f8d96e0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,673bf07b9afc34b7,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-15 12:10:59 PST
Date: Wed, 15 Oct 2003 20:53:28 +0200
From: Frank Birbacher <bloodymir.crap@gmx.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: how can I redirect stdin/out of a system call?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 134.130.240.24
Message-ID: <3f8d96e0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066243808 134.130.240.24 (15 Oct 2003 11:50:08 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail