Improve the workaround in 2009-09-24T16:46:12Z!kailoran@gmail.com.

Provide a simple subprocess module based spawner in case if pywin32
extensions aren't available.
This commit is contained in:
Sergey Popov 2009-09-25 13:13:24 +00:00
parent 54b1d81ea3
commit d24931ac3a

4
SConstruct Normal file → Executable file
View file

@ -235,7 +235,9 @@ if env['PLATFORM'] == 'win32':
env['SPAWN'] = my_spawn
except ImportError:
pass
def subprocess_spawn(sh, escape, cmd, args, env):
return call(' '.join(args))
env['SPAWN'] = subprocess_spawn
#
# Check some preconditions