# task: Spawn static tasks in separate shell \(\#8827\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/98a1e87fbea5ed19aa5f31aab6cd7c47655edeb9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 98a1e87fbea5ed19aa5f31aab6cd7c47655edeb9

Requested commit: 98a1e87fbea5ed19aa5f31aab6cd7c47655edeb9

Commit: 98a1e87fbea5ed19aa5f31aab6cd7c47655edeb9

Tree: 5c814ece905e1e84f9bc80676ecb7fc491e2a5a2

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
task: Spawn static tasks in separate shell (#8827)

That way one can use environment variables in task definitions.

Fixes: #8660

/cc @SomeoneToIgnore it looks like we don't ever set `separate_shell` to
false anymore, it might be worth streamlining?

Release Notes:

- Fixed static tasks not being run under a separate shell.
- Removed `separate_shell` setting from task definitions. It is now a default for tasks defined in tasks.json file.
```

## Parents

- [6121c286b78001ea4428653386e2c6e505563296](https://git.cafe/gitcafe/zed/commit/6121c286b78001ea4428653386e2c6e505563296?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/98a1e87fbea5ed19aa5f31aab6cd7c47655edeb9?format=markdown)
