tofusoup 2026-04-01
0.3.31 release, Windows tofu binary discovery, ProactorEventLoop fix
9 files · 575+ · 494-

Windows tofu binary discovery and event loop fixes

2 files changed
  • runner.py TOFU_CLI_PATH env var checked for tofu binary; full path resolved for Windows subprocess.run; ProactorEventLoop explicitly created on Windows
  • logs.py Terraform log files opened with utf-8 encoding on Windows
  • Windows tofu binary discovery: TOFU_CLI_PATH env var checked first, then full binary path resolved for subprocess.run. subprocess.run runs in a thread on Windows to avoid SelectorEventLoop which doesn’t support subprocesses. ProactorEventLoop explicitly created on Windows instead of relying on policy. Terraform log files opened with UTF-8 encoding. remediate behavioral
    1 file
    • runner.py