Re: [SLUG] Re: Which exec* function to use?

From: Paul Braman (aeon@tampabay.rr.com)
Date: Sat Nov 30 2002 - 13:38:38 EST


On Sat, 30 Nov 2002, Paul M Foster wrote:

> On Sat, Nov 30, 2002 at 12:44:38PM -0500, Paul M Foster wrote:
>
> > I want a function that shares the majority of the parent's
> > environment and will search for executables, do its business, and then
> > return to the calling program. Anyone know what the name of this beast
> > is?
>
> Never mind. Found it. It's system(3).

You can also use a combination of fork/exec to get what you want if you
don't desire waiting on system to return. (Asynchronous execution.)

Paul Braman
aeon@tampabay.rr.com



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:16:03 EDT