Skip to content

Commit 1b4bbb7

Browse files
authored
docs: Improve documentation for tasks (#2036)
Mention that they run in subprocesses. Fixes #2035.
1 parent dc7e5e0 commit 1b4bbb7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/configuring.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,8 @@ This allows you to keep separate the template metadata and the template code.
15631563

15641564
Commands to execute after generating or updating a project from your template.
15651565

1566-
They run ordered, and with the `$STAGE=task` variable in their environment.
1566+
They run ordered, and with the `$STAGE=task` variable in their environment. Each task
1567+
runs in its own subprocess.
15671568

15681569
If a `dict` is given it can contain the following items:
15691570

@@ -1575,6 +1576,8 @@ If a `dict` is given it can contain the following items:
15751576
If a `str` or `List[str]` is given as a task it will be treated as `command` with all
15761577
other items not present.
15771578

1579+
Refer to the example provided below for more information.
1580+
15781581
!!! example
15791582

15801583
```yaml title="copier.yml"

0 commit comments

Comments
 (0)