[Scons-users] TypeError writing to stderror in MSCommon/Common.py [reformatted]

Joseph C. Brill jbrill at mindspring.com
Wed Dec 4 19:57:15 EST 2019


C:\WINDOWS\system32\WindowsPowerShell\v1.0

sys32_dir = os.path.join(os.environ.get("SystemRoot",
os.environ.get("windir", r"C:\Windows\system32")), "System32")

sys32_powershell_dir = os.path.join(sys32_dir, 'WindowsPowerShell', 'v1.0')

if sys32_powershell_dir not in normenv['PATH']:
	normenv['PATH'] = normenv['PATH'] + os.pathsep +
sys32_powershell_dir

Earlier in the thread, Mats seemed to think it may not be a good idea to add
the powershell folder to the path.



More information about the Scons-users mailing list