# remote: Fix \`detect_can_exec\` detection \(\#42087\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e75c6b1aa58fd54534335621149ad707cdafbddb

Requested commit: e75c6b1aa58fd54534335621149ad707cdafbddb

Commit: e75c6b1aa58fd54534335621149ad707cdafbddb

Tree: 0dfe43f4523cfbfc05163fccd31f573c2e48f66b

Author: Lukas Wirth

Committer: GitHub

## Message

```
remote: Fix `detect_can_exec` detection (#42087)

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

Release Notes:

- Fixed an issuer with wsl exec detection eagerly failing, breaking
remote connections
```

## Parents

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

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