From: Jan Dubois Date: Thu, 13 Sep 2007 12:46:06 +0000 (-0700) Subject: document limitation of exec() inside pseudo-processes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1cb5e8fb2e5eeb3d7ea5330318c0f9dd3d68bdf9;p=p5sagit%2Fp5-mst-13.2.git document limitation of exec() inside pseudo-processes From: "Jan Dubois" Message-ID: <023a01c7f63e$b9da1170$2d8e3450$@com> p4raw-id: //depot/perl@31881 --- diff --git a/pod/perlfork.pod b/pod/perlfork.pod index 8f3b919..48d65ed 100644 --- a/pod/perlfork.pod +++ b/pod/perlfork.pod @@ -95,6 +95,9 @@ manipulation functions applied to the ID returned by fork() will affect the waiting pseudo-process that called exec(), not the real process it is waiting for after the exec(). +When exec() is called inside a pseudo-process then DESTROY methods and +END blocks will still be called after the external process returns. + =item exit() exit() always exits just the executing pseudo-process, after automatically