# Use unix pipe to capture environment variables \(\#32136\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3bed830a1f9ac7ef1569bfca27fd61e835fe3094

Requested commit: 3bed830a1f9ac7ef1569bfca27fd61e835fe3094

Commit: 3bed830a1f9ac7ef1569bfca27fd61e835fe3094

Tree: 8f94a95f97037a07a30bee8af2f6de9d7d0da57e

Author: Haru Kim

Committer: GitHub

## Message

```
Use unix pipe to capture environment variables (#32136)

The use of `NamedTempFile` in #31799 was not secure and could
potentially cause write permission issues (see [this
comment](https://github.com/zed-industries/zed/issues/29528#issuecomment-2939672433)).
Therefore, it has been replaced with a Unix pipe.

Release Notes:
- N/A
```

## Parents

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

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