Redirect the stderr of pybindgen to a log file (ns3modulegen.log).
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed, 09 Jul 2008 17:31:37 +0100
changeset 3411 eca46ea15a04
parent 3410 2d66cad7db94
child 3412 518719e905a0
Redirect the stderr of pybindgen to a log file (ns3modulegen.log).
bindings/python/wscript
--- a/bindings/python/wscript	Wed Jul 09 17:31:01 2008 +0100
+++ b/bindings/python/wscript	Wed Jul 09 17:31:37 2008 +0100
@@ -316,9 +316,9 @@
     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"),