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:
parent
54b1d81ea3
commit
d24931ac3a
1 changed files with 3 additions and 1 deletions
4
SConstruct
Normal file → Executable file
4
SConstruct
Normal file → Executable 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
|
||||
|
|
Loading…
Add table
Reference in a new issue