summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2004-01-25 22:23:48 +1100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-01-27 10:31:09 +0000
commit4c2e8b59470475b2be2757a46f0310b650149aa2 (patch)
tree008d9bdbfe5873c7b28cd1b4e4e28906dbcb4a01 /pod/perlfunc.pod
parent31e7d91aa2c497c1f2b20d19e3949c2f2538e617 (diff)
downloadperl-4c2e8b59470475b2be2757a46f0310b650149aa2.tar.gz
5.8.3 -- fix signal comments in L<perlfunc/system>
Message-ID: <20040125002348.GA31407@londo.c47.org> p4raw-id: //depot/perl@22228
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index d7912b1c35..5e4631bbda 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -5765,9 +5765,10 @@ indicates a failure to start the program (inspect $! for the reason).
Like C<exec>, C<system> allows you to lie to a program about its name if
you use the C<system PROGRAM LIST> syntax. Again, see L</exec>.
-Because C<system> and backticks block C<SIGINT> and C<SIGQUIT>,
-killing the program they're running doesn't actually interrupt
-your program.
+Since C<SIGINT> and C<SIGQUIT> are ignored during the execution of
+C<system>, if you expect your program to terminate on receipt of these
+signals you will need to arrange to do so yourself based on the return
+value.
@args = ("command", "arg1", "arg2");
system(@args) == 0
@@ -5787,7 +5788,6 @@ C<$?> like this:
printf "child exited with value %d\n", $? >> 8;
}
-
or more portably by using the W*() calls of the POSIX extension;
see L<perlport> for more information.