【发布时间】:2014-06-19 10:08:10
【问题描述】:
鉴于我的 Ada 构建器使用了一个函数 ada_action,该函数由
static_obj.action(suffix, Action(ada_action, print_action_string)
目前调用env.Execute() 及更多
def print_action_string(target, source, env):
print env.subst(env["ADACOMSTR"], target=target, source=source)
如何控制详细级别,以便在定义 env["ADACOMSTR"] 时只调用 print_action_string 并禁止回显当前由 env.Execute() 执行的 shell 命令?
【问题讨论】: