Redirect the stderr of pybindgen to a log file (ns3modulegen.log).

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-07-09 17:31:37 +01:00
parent 3ff7e83dd0
commit fd2cdaf7ac

View File

@@ -316,9 +316,9 @@ def build(bld):
if env['ENABLE_PYTHON_BINDINGS']:
bindgen = bld.create_obj('command-output')
bindgen.name = 'pybindgen'
bindgen.command = env['PYTHON']
bindgen.command_is_external = True
bindgen.stderr = 'ns3modulegen.log'
bindgen.argv = [
bindgen.input_file("ns3modulegen.py"),
bindgen.output_file("ns3module.cc"),