From 83961fd759eca831b7b70138643c66da2abc2387 Mon Sep 17 00:00:00 2001 From: Raphael Hertzog Date: Mon, 23 Jun 2008 22:16:56 +0200 Subject: [PATCH] * scripts/Dpkg/IPC.pm (fork_and_exec): new nocheck option --- ChangeLog | 5 +++++ scripts/Dpkg/IPC.pm | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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; } -- 2.39.5