From b44951a46c29c6c05904cde92b09bef1210f14df Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 22 Nov 2015 07:31:02 +0530 Subject: [PATCH] Do not run the post-installer through a shell --- setup/linux-installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/linux-installer.py b/setup/linux-installer.py index c55bd57da1..d814b9c816 100644 --- a/setup/linux-installer.py +++ b/setup/linux-installer.py @@ -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)