# util: Check whether discovered powershell is actually executable \(\#43044\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5ccbe945a606e28579b164203e970f87c47fc523

Requested commit: 5ccbe945a606e28579b164203e970f87c47fc523

Commit: 5ccbe945a606e28579b164203e970f87c47fc523

Tree: 2b55eb61d86ce94e9720ef1d3381177a3d4c88b2

Author: Lukas Wirth

Committer: GitHub

## Message

```
util: Check whether discovered powershell is actually executable (#43044)

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

The powershell we discovered might be in a directory with higher
permission requirements which will cause us to fail using it.

Release Notes:

- Fixed powershell discovery disregarding admin requirements
```

## Parents

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

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