Made scons recipe use subprocess.call instead of os.system to call convert.

This commit is contained in:
Sergey Popov 2008-05-06 09:23:24 +00:00
parent 4b42a90f34
commit 58d9cc9da7

View file

@ -11,9 +11,8 @@
import os, sys, shutil, sets, re, commands
from glob import glob
from subprocess import Popen, PIPE
from subprocess import Popen, PIPE, call
from os import access, F_OK
from SCons.Script import *
# Warn user of current set of build options.
if os.path.exists('.scons-option-cache'):
@ -660,7 +659,7 @@ def InstallFilteredHook(target, source, env):
command = command % ("50%", source, target)
if env["verbose"]:
print command
os.system(command)
call(command)
return None
# Just copy non-images, and images if tinygui is off
if env["verbose"]: