ENH: script_env now takes an args argument to forward arguments to the executed script.
authorcournape <cournape@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 19 Nov 2009 04:52:17 +0000 (04:52 +0000)
committercournape <cournape@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 19 Nov 2009 04:52:17 +0000 (04:52 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4434 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Tool/MSCommon/vc.py

index 3d78ae894aed306e28522ee6c4abc2ed326274fd..d5e31104ca724e00ba184d50b57cb1acce05968f 100644 (file)
@@ -276,8 +276,8 @@ def set_vc_by_version(env, msvc):
 
 # New stuff
 
-def script_env(script):
-    stdout = common.get_output(script)
+def script_env(script, args=None):
+    stdout = common.get_output(script, args)
     return common.parse_output(stdout)
 
 def get_default_version(env):