# windows: Refactor shell environment capture to use new_smol_command \(\#39055\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 77854f46274d464a9171deb07e61858f57963d1c

Requested commit: 77854f46274d464a9171deb07e61858f57963d1c

Commit: 77854f46274d464a9171deb07e61858f57963d1c

Tree: b75daa90a49d01dbfb31bea65b7fc09b4c9db4ad

Author: Xiaobo Liu

Committer: GitHub

## Message

```
windows: Refactor shell environment capture to use new_smol_command (#39055)

Using `crate::command::new_smol_command` on the Windows platform will
not display the PowerShell window.

Closes #39052

Release Notes:

- N/A

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
```

## Parents

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

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