Fix build broken
authorklu2 <klu2@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 15 Jan 2010 08:02:16 +0000 (08:02 +0000)
committerklu2 <klu2@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 15 Jan 2010 08:02:16 +0000 (08:02 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1809 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/build/build.py

index d558686..9148b8f 100644 (file)
@@ -24,6 +24,7 @@ import platform
 import traceback\r
 import types\r
 if sys.platform == "win32":\r
+    import subprocess\r
     from _subprocess import CreateProcess\r
 \r
 from threading import *\r
@@ -226,7 +227,7 @@ class WinPopen(Popen):
         """Execute program (MS Windows version)"""\r
 \r
         if not isinstance(args, types.StringTypes):\r
-            args = list2cmdline(args)\r
+            args = subprocess.list2cmdline(args)\r
 \r
             # Start the process\r
             try:\r