# Properly pass nested script arguments for tasks \(\#10776\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 13c17267b97f44fbaf28b6bd4961e070db113d33

Requested commit: 13c17267b97f44fbaf28b6bd4961e070db113d33

Commit: 13c17267b97f44fbaf28b6bd4961e070db113d33

Tree: b6e86b62d0949d674f28b09f449b0b833c0a4d3e

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Properly pass nested script arguments for tasks (#10776)

Closes
https://github.com/zed-industries/zed/discussions/10732#discussion-6524347
introduced by https://github.com/zed-industries/zed/pull/10548 while
keeping both Python and Bash run selection capabilities.

Also replaced redundant `SpawnTask` struct with `SpawnInTerminal` that
has identical fields.

Release Notes:

- Fixed incorrect task escaping of nested script arguments

---------

Co-authored-by: Piotr Osiewicz <piotr@zed.dev>
```

## Parents

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

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