huak icon indicating copy to clipboard operation
huak copied to clipboard

Run command modifies PATH in multi-threaded testing

Open cnpryer opened this issue 1 year ago • 0 comments

When running the tests with multiple threads, for some reason I haven't fully investigated, the new_python_environment method ends up modifying the parent process' PATH environment variable in a way that causes the functionality to fail.

Ideally an Env struct could capture original environment variables to return to at times throughout huak's operations, but this is still worth fully understanding.

cnpryer avatar Apr 09 '23 02:04 cnpryer