From a6cbfd4a3fe6e24d12fdeae395953c66f8c52ff1 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Thu, 20 Aug 2020 14:15:55 -0300 Subject: [PATCH] [appimage] fix -> some environment variable are not available during the launch process --- CHANGELOG.md | 1 + bauh/gems/appimage/controller.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0522f707..4d9d67b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - AppImage - manual file installation - crashing the application icon is not on the extracted folder root path [#132](https://github.com/vinifmor/bauh/issues/132) + - some environment variable are not available during the launch process - Arch - not able to upgrade a package that explicitly defines a conflict with itself (e.g: grub) - downloading some AUR packages sources twice when multi-threaded download is enabled diff --git a/bauh/gems/appimage/controller.py b/bauh/gems/appimage/controller.py index 36738aea..f4e90866 100644 --- a/bauh/gems/appimage/controller.py +++ b/bauh/gems/appimage/controller.py @@ -670,7 +670,7 @@ class AppImageManager(SoftwareManager): appimag_path = util.find_appimage_file(installation_dir) if appimag_path: - subprocess.Popen([appimag_path]) + subprocess.Popen(args=appimag_path, shell=True) else: self.logger.error("Could not find the AppImage file of '{}' in '{}'".format(pkg.name, installation_dir))