This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
document limitation of exec() inside pseudo-processes
authorJan Dubois <jand@activestate.com>
Thu, 13 Sep 2007 12:46:06 +0000 (05:46 -0700)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 17 Sep 2007 11:20:33 +0000 (11:20 +0000)
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <023a01c7f63e$b9da1170$2d8e3450$@com>

p4raw-id: //depot/perl@31881

pod/perlfork.pod

index 8f3b919..48d65ed 100644 (file)
@@ -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