From: Raphael Hertzog Date: Mon, 23 Jun 2008 20:16:56 +0000 (+0200) Subject: * scripts/Dpkg/IPC.pm (fork_and_exec): new nocheck option X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83961fd759eca831b7b70138643c66da2abc2387;p=dpkg * scripts/Dpkg/IPC.pm (fork_and_exec): new nocheck option --- diff --git a/ChangeLog b/ChangeLog index 143f9786..37838394 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-23 Raphael Hertzog + + * scripts/Dpkg/IPC.pm (fork_and_exec): New nocheck option that is + forwarded to wait_child(). + 2008-06-23 Timothy G Abbott * scripts/dpkg-divert.pl: Add new option --listpackage to diff --git a/scripts/Dpkg/IPC.pm b/scripts/Dpkg/IPC.pm index e75ba989..c28f69db 100644 --- a/scripts/Dpkg/IPC.pm +++ b/scripts/Dpkg/IPC.pm @@ -102,6 +102,10 @@ Scalar. If containing a true value, wait_child() will be called before returning. The return value will of fork_and_exec() will be a true value, but not the pid. +=item nocheck + +Scalar. Option of the wait_child() call. + =item chdir Scalar. The child process will chdir in the indicated directory before @@ -267,7 +271,7 @@ sub fork_and_exec { ${$opts{"error_to_string"}} = readline($error_to_string_pipe); } if ($opts{"wait_child"}) { - wait_child($pid, cmdline => "@prog"); + wait_child($pid, nocheck => $opts{"nocheck"}, cmdline => "@prog"); return 1; }