*BSD News Article 74166


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!usenet
From: Gary Lynn Beckler <garyb@EriNet.com>
Newsgroups: comp.unix.bsd.misc,comp.unix.aix
Subject: Executing process from child process
Date: Thu, 18 Jul 1996 22:05:55 -0400
Organization: EriNet Online 513 436-1700 (Voice)
Lines: 11
Message-ID: <31EEED83.1CB5@EriNet.com>
NNTP-Posting-Host: dlp87.dayton.eri.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02E-KIT  (Win95; U)
CC: garyb@erinet.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:1257 comp.unix.aix:80946

Has anyone been successful executing a process using "execv" from 
a forked child process?  I have been unsuccessful.  Basically, I have 
client and server software running on separate machines.  After the 
connection is made, the server process forks, and the spawned child 
process calls "execv" with the proper arguments.  We are using 4.4BSD 
and IBM AIX 3.0.

I would like to see sample code if possible.  Thanks in advance.

Gary
garyb@erinet.com