# Filter app runtime env vars from terminal spawn environment · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/ecea657eb0a38b1e666155c602c1ee7ea62381bb)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: ecea657eb0a38b1e666155c602c1ee7ea62381bb

Requested commit: ecea657eb0a38b1e666155c602c1ee7ea62381bb

Commit: ecea657eb0a38b1e666155c602c1ee7ea62381bb

Tree: abeb79ab92b9fe3d1507e773bf6bab186036e113

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Filter app runtime env vars from terminal spawn environment

- build terminal spawn env from a filtered copy of process env
- exclude `PORT`, `T3CODE_*`, `VITE_*`, and Electron runtime vars
- add test coverage to verify filtered and preserved env keys

```

## Parents

- [9e3fa3e67f1642f43b89f6260b5b93d4295344b0](https://git.cafe/pingdotgg/t3code/commit/9e3fa3e67f1642f43b89f6260b5b93d4295344b0?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/ecea657eb0a38b1e666155c602c1ee7ea62381bb?format=markdown)
