Calling python to spawn a python subprocess.

This will enable the script to work under Windows, which doesn't understand hashbangs interpreters.
Also built on top of #2395.
pull/2396/head
Nicolas "Pixel" Noble 10 years ago
parent 22232ae298
commit 587b7592b5
  1. 2
      tools/buildgen/generate_projects.py

@ -51,7 +51,7 @@ for root, dirs, files in os.walk('templates'):
for f in files:
if os.path.splitext(f)[1] == '.template':
out = '.' + root[len('templates'):] + '/' + os.path.splitext(f)[0]
cmd = ['tools/buildgen/mako_renderer.py']
cmd = ['python', 'tools/buildgen/mako_renderer.py']
for plugin in plugins:
cmd.append('-p')
cmd.append(plugin)

Loading…
Cancel
Save