# remote: Finer grained \`\-\-exec\` attempts \(\#43987\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a2f69cd5bde779143745cef52e3541b22bb73515

Requested commit: a2f69cd5bde779143745cef52e3541b22bb73515

Commit: a2f69cd5bde779143745cef52e3541b22bb73515

Tree: 1234bcd191ed867695af12f2788de140958bf390

Author: Lukas Wirth

Committer: GitHub

## Message

```
remote: Finer grained `--exec` attempts (#43987)

Closes https://github.com/zed-industries/zed/issues/43328

Instead of trying to guess whether we can `--exec`, this now
restructures things to only attempt to use that flag where its
necessary. We only need to `--exec` when we are interested in the shell
output after all.

Release Notes:

- Fixed wsl remoting not working with some nixOS setups
```

## Parents

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

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