How to access config variables in exec_command()s?
How to access config variables in exec_command()s? Question: I have a configuration function in my wscript: def configure(ctx): ctx.env.V1 = 123 def build(ctx): def myfun(task): return task.exec_command(‘echo VAR=${V1}’) ctx.exec_command(‘echo VAR=${V1}’) ctx.add_post_fun(myfun) But in build and in myfun (both) V1 is not available (it’s substituted to an empty string). I can store and load my own …