You don't mention which OS you're using, but in Richard Stevens'
_Advanced Programming in the UNIX Environment_, on p.189 he states:
"Many current implementations don't perform a complete copy of the
parent's data, stack, and heap, since a fork is often followed by an
exec. Instead, a
[EMAIL PROTECTED] (Paul) wrote:
I'm writing module code which (for backward compatibility with the CGI
it's replacing) needs to be able to execute commands from a file.
(~urgh~) The files have usually been ksh and/or Perl. Commonly, they
contain a directive to execute a line of shell script.