summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/IPC.pm
diff options
context:
space:
mode:
authorRaphael Hertzog <hertzog@debian.org>2008-06-23 22:16:56 +0200
committerRaphael Hertzog <hertzog@debian.org>2008-06-23 22:16:56 +0200
commit83961fd759eca831b7b70138643c66da2abc2387 (patch)
tree83c07dddf6df30cb89d028bd7baef88e71fbc9e8 /scripts/Dpkg/IPC.pm
parentf3382f0a8b56d0043965fa51e767a9ca1ee4f569 (diff)
downloaddpkg-83961fd759eca831b7b70138643c66da2abc2387.tar.gz
* scripts/Dpkg/IPC.pm (fork_and_exec): new nocheck option
Diffstat (limited to 'scripts/Dpkg/IPC.pm')
-rw-r--r--scripts/Dpkg/IPC.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/Dpkg/IPC.pm b/scripts/Dpkg/IPC.pm
index e75ba989c..c28f69db1 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;
}