terminal/.github/actions/spell-check
Dustin L. Howett 849243af99
Always create a new environment block before we spawn a process (#7243)
This commit ensures that we always furnish a new process with the
cleanest, most up-to-date environment variables we can. There is a minor
cost here in that WT will no longer pass environment variables that it
itself inherited to its child processes.

This could be considered a reasonable sacrifice. It will also remove
somebody else's TERM, TERM_PROGRAM and TERM_PROGRAM_VERSION from the
environment, which could be considered a win.

I validated  that GetCurrentProcessToken returns a token we're
_technically able_ to use with this API; it is roughly equivalent to
OpenProcessToken(GetCurrentProcess) in that it returns the current
active _access token_ (which is what CreateEnvironmentBlock wants.)

There's been discussion about doing a 3-way merge between WT's
environment and the new one. This will be complicated and I'd like to
scream test the 0-way merge first ;P

Related to #1125 (but it does not close it or resolve any of the other
issues it calls out.)

Fixes #7239
Fixes #7204 ("App Paths" value creeping into wt's environment)
2020-08-11 23:58:45 +00:00
..
dictionary Always create a new environment block before we spawn a process (#7243) 2020-08-11 23:58:45 +00:00
expect tools: add Get-OSSConhostLog (#7250) 2020-08-11 20:08:03 +00:00
patterns Set memory order on slow atomics (#6920) 2020-07-17 17:11:45 +00:00
advice.txt ci: spelling: update to 0.0.16a; update advice (#5922) 2020-05-28 08:01:52 -05:00
excludes.txt ci: spelling: update to 0.0.16a; update advice (#5922) 2020-05-28 08:01:52 -05:00