🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#13359
From: Jim Dodd
Date: Fri, 17 Oct 2003 14:48
12 lines
1564 bytes
Frank Birbacher wrote:
> 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?

You can look at the WinTools example that comes with Builder (in the 
Examples/WinTools directory). It shows how to pipe in and out of the 
command-line programs and also how to deal with NT security issues. Look 
in the RunBtnClick() method especially.

Jim Dodd
Onset Computer Corp.
Technical Details
Message-ID: <3f900132@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f8d96e0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,673bf07b9afc34b7
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-17 08:10:56 PST
Date: Fri, 17 Oct 2003 10:48:34 -0400
From: Jim Dodd <bcbuilderboy@yahoo.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: how can I redirect stdin/out of a system call?
References: <3f8d96e0$1@newsgroups.borland.com>
In-Reply-To: <3f8d96e0$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.161.163.42
Message-ID: <3f900132@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066402098 65.161.163.42 (17 Oct 2003 07:48:18 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail