-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected setenv behavior #137
Comments
Original comment by @cjerdonek I think the trickiest thing will be deciding the rules for what behavior you want. For example, should it be procedurally evaluated (i.e. dependent on the order in which directives are processed), or declarative (i.e. order independent). An example of this is whether it matters if the |
Original comment by @hpk42 You are right. The implementation might not be a few lines of change. FYI I am actually unhappy about the "up front" expansion on all configs. It should be more lazy. For example, i once had a specific test environment that depended on an environment variable. The environment was not part of |
Original comment by @cjerdonek Hmm, this might become subtle then, or not so simple to document. If
Currently, because |
Original comment by @hpk42 Agreed, this should be fixed, actually. setenv should work for substitutions in commands. |
As the merged test from @sifuraz shows, this bug has been fixed already. |
The following behavior was unexpected to me. With an ini section like the following:
The environment variable
FOO
set viasetenv
is not reflected in the{env:FOO}
substitution. I think the documentation should clarify this because it may be surprising to some. Also, there is a typo here (unkown -> unknown).The text was updated successfully, but these errors were encountered: