Foo Ji-Haw wrote:

> Hello Karthik,
> 
> I am not a monk, but I have a simple answer to your question.
> 
> IIRC, the main diff between exec() and system() is that one waits for 
> the call to complete before continuing, whereas the other does not. You 
> have to read the docs to figure out which is which.

exec replaces the current process with a new version of the same
process and basically starts over again from scratch.

system runs a child process and waits on it.

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to