[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37541] branches/soc-2008-mxcurioni/scons/ scons-local-1.2.0.d20090223/SCons/Platform/win32.py: Reverted local temporary changes in the last commit.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Thu Jun 16 07:53:28 CEST 2011


Revision: 37541
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37541
Author:   kjym3
Date:     2011-06-16 05:53:28 +0000 (Thu, 16 Jun 2011)
Log Message:
-----------
Reverted local temporary changes in the last commit.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/scons/scons-local-1.2.0.d20090223/SCons/Platform/win32.py

Modified: branches/soc-2008-mxcurioni/scons/scons-local-1.2.0.d20090223/SCons/Platform/win32.py
===================================================================
--- branches/soc-2008-mxcurioni/scons/scons-local-1.2.0.d20090223/SCons/Platform/win32.py	2011-06-16 05:50:13 UTC (rev 37540)
+++ branches/soc-2008-mxcurioni/scons/scons-local-1.2.0.d20090223/SCons/Platform/win32.py	2011-06-16 05:53:28 UTC (rev 37541)
@@ -178,28 +178,6 @@
         return 127
     return exec_spawn([sh, '/C', escape(string.join(args))], env)
 
-# From http://www.scons.org/wiki/LongCmdLinesOnWin32
-def spawn(sh, escape, cmd, args, env):
-    import subprocess, _subprocess
-    newargs = " ".join(args[1:])
-    cmdline = cmd + " " + newargs
-    startupinfo = subprocess.STARTUPINFO()
-    startupinfo.dwFlags |= _subprocess.STARTF_USESHOWWINDOW
-    proc = subprocess.Popen(cmdline,
-                            stdin = subprocess.PIPE,
-                            stdout = subprocess.PIPE,
-                            stderr = subprocess.PIPE,
-                            startupinfo = startupinfo,
-                            shell = False, env = env)
-    data, err = proc.communicate()
-    rv = proc.wait()
-    if rv:
-        print "====="
-        print err
-        print "====="
-    return rv
-
-
 # Windows does not allow special characters in file names anyway, so no
 # need for a complex escape function, we will just quote the arg, except
 # that "cmd /c" requires that if an argument ends with a backslash it




More information about the Bf-blender-cvs mailing list