Do not run the post-installer through a shell

This commit is contained in:
Kovid Goyal 2015-11-22 07:31:02 +05:30
parent 27e4bd5b81
commit b44951a46c

View File

@ -660,7 +660,7 @@ def run_installer(install_dir, isolated, bin_dir, share_dir):
pi.extend(['--bindir', bin_dir])
if share_dir is not None:
pi.extend(['--sharedir', share_dir])
subprocess.call(pi, shell=len(pi) == 1)
subprocess.call(pi)
prints('Run "calibre" to start calibre')
else:
prints('Run "%s/calibre" to start calibre' % destdir)