openllb / hlb

A developer-first language to build and test any software efficiently
https://openllb.github.io/hlb/
Apache License 2.0
108 stars 12 forks source link

Support extra env vars for the debug shell #327

Closed yun-wang closed 2 years ago

yun-wang commented 2 years ago

The env []string support was removed from ExecWithSolveErr in #286. Adding it back because it's required in newt.

This PR adds env []string to the client-facing Exec method, instead of the underlying implementation (ExecWithSolveErr or ExecWithFS).