summaryrefslogtreecommitdiff
path: root/doc/PROGRAMMING
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-09-19 12:37:17 +0000
committerNiels Thykier <niels@thykier.net>2017-09-19 12:37:17 +0000
commit295211210d8b4bcac09f2efeb47223f779a90ff9 (patch)
tree40a61cf028159540ecd1ca0650d5b66c211dcd91 /doc/PROGRAMMING
parent592076d0f27b1a3d67e76480c98cd68533c4bff7 (diff)
downloaddebhelper-295211210d8b4bcac09f2efeb47223f779a90ff9.tar.gz
Dh_Lib: Add "chdir" to the *_doit + doit API
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'doc/PROGRAMMING')
-rw-r--r--doc/PROGRAMMING2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index 5befe565..9067dfc5 100644
--- a/doc/PROGRAMMING
+++ b/doc/PROGRAMMING
@@ -166,6 +166,8 @@ doit([$options, ]@command)
The following key-value pairs can be used:
* stdout => A file name. The child process will have its STDOUT redirected
to that file. [debhelper (>= 10.7)]
+ * chdir => A directory. The child process will do a chdir into that
+ directory before executing the command. [debhelper (>= 10.8)]
This will *not* invoke a shell, so meta characters will not have any special
meaning. Use complex_doit for that.