----- Original Message -----
From: "Joseph P. Discenza" <[EMAIL PROTECTED]>
To: "Patrick L. Olson" <[EMAIL PROTECTED]>; " Perl-Win32-Web
Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 16, 2000 5:11 AM
Subject: RE: Multiple perl.exe processes not going away
> Patrick L. Olson wrote, on Thursday, November 16, 2000 03:49
> : I have a question kind of on the same subject if you use the exec()
> : function does the parent stay running this was unclear to me in the
> : doc's.
>
> What part of the doc isn't clear? From the very top of perldoc -f
exec:
>
> exec LIST
> exec PROGRAM LIST
> The `exec()' function executes a system command *AND
> NEVER RETURNS* - use `system()' instead of `exec()' if
> you want it to return. It fails and returns FALSE only
> if the command does not exist *and* it is executed
> directly instead of via your system's command shell (see
> below).
>
> From _Perl_in_a_Nutshell_:
>
> exec command
>
> Terminates the currently running Perl script and executes
> the program named in command. ...
>
> I especially like the all caps & asterisks in perldoc.
>
> Joe
Ah yes Perl/html/lib/Pod/perlfunc.html#item_exec
but that does not state that it terminates just exits
and faq8 says
Because that's what it does: it replaces your currently
running program with a different one. If you want to
keep going (as is probably the case if you're asking this question)
use system() instead.
>From _Perl_in_a_Nutshell_:<<<<good book I take it :)
exec command
Terminates the currently running Perl script and executes
the program named in command. ...
==============================================================
> Joseph P. Discenza, Sr. Programmer/Analyst
> mailto:[EMAIL PROTECTED]
>
> Carleton Inc. http://www.carletoninc.com
> 219.243.6040 ext. 300 fax: 219.243.6060
>
> Providing Financial Solutions and Compliance for over 30 Years
>
> _______________________________________________
> Perl-Win32-Web mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
>
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web