[arch] improvement: do not execute pacman install simulation on shell to avoid issues associated with blank chars

This commit is contained in:
Vinicius Moreira
2022-03-02 16:14:06 -03:00
parent 5594a5898a
commit 0987db7151

View File

@@ -167,7 +167,7 @@ def install_as_process(pkgpaths: Iterable[str], root_password: Optional[str], fi
root_password=root_password, root_password=root_password,
cwd=pkgdir, cwd=pkgdir,
error_phrases={"error: failed to prepare transaction", 'error: failed to commit transaction', 'error: target not found'}, error_phrases={"error: failed to prepare transaction", 'error: failed to commit transaction', 'error: target not found'},
shell=True) shell=False)
def map_desktop_files(*pkgnames) -> Dict[str, List[str]]: def map_desktop_files(*pkgnames) -> Dict[str, List[str]]: