mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Do not run the post-installer through a shell
This commit is contained in:
parent
27e4bd5b81
commit
b44951a46c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user