# remote: Check if remote can \-\-exec, fall back to spawning shell otherwise \(\#40112\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 96add6c9def5f62bb2b3d6210fef0d778f43a77c

Requested commit: 96add6c9def5f62bb2b3d6210fef0d778f43a77c

Commit: 96add6c9def5f62bb2b3d6210fef0d778f43a77c

Tree: d09f8b8325911661ef4ca5a622cdd1c9e0c40abb

Author: Jakub Konka

Committer: GitHub

## Message

```
remote: Check if remote can --exec, fall back to spawning shell otherwise (#40112)

Bonus: fix passing env vars to the proxy server in WSL setting.

Closes #39710
Supersedes #39893

Release Notes:

- N/A
```

## Parents

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

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