From 295211210d8b4bcac09f2efeb47223f779a90ff9 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Tue, 19 Sep 2017 12:37:17 +0000 Subject: Dh_Lib: Add "chdir" to the *_doit + doit API Signed-off-by: Niels Thykier --- doc/PROGRAMMING | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/PROGRAMMING') 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. -- cgit v1.2.3