From 7ff7f93364b7c939c90e5657f8bfe0acf54b6e26 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 22 Oct 2023 12:17:07 +0200 Subject: [PATCH] Fix #376: describe shell limitations with run/task stanzas Signed-off-by: Joachim Wiberg --- doc/config.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/config.md b/doc/config.md index 9182610b..cb7ecf9c 100644 --- a/doc/config.md +++ b/doc/config.md @@ -668,11 +668,14 @@ also the `--quiet` and `--batch` options. One-shot like 'run', but starts in parallel with the next command. -Both `run` and `task` commands are run in a shell, so pipes and -redirects can be freely used: +Both `run` and `task` commands are run in a shell, so basic pipes and +redirects can be used: task [s] echo "foo" | cat >/tmp/bar +Please note, `;`, `&&`, `||`, and similar are *not supported*. Any +non-trivial constructs are better placed in a separate shell script. + ### SysV Init Scripts