[arch] fix -> not informing the env vars during the launch process

This commit is contained in:
Vinicius Moreira
2020-08-20 17:28:31 -03:00
parent 72573cf300
commit 20f049315c
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- multi-threaded download: not retrieving correctly some source files URLs (e.g: linux-xanmod-lts)
- importing PGP keys (Generic error). Now the key server is specified: `gpg --keyserver SERVER --recv-key KEYID` (the server address is retrieved from [bauh-files](https://github.com/vinifmor/bauh-files/blob/master/arch/gpgservers.txt))
- not installing the correct package built when several are generated (e.g: linux-xanmod-lts)
- some environment variables are not available during the common operations (install, upgrade, downgrade, uninstall, makepkg)
- some environment variables are not available during the common operations (install, upgrade, downgrade, uninstall, makepkg, launch)
- Flatpak
- downgrading crashing with version 1.8.X
- history: the top commit is returned as "(null)" in version 1.8.X

View File

@@ -2412,7 +2412,7 @@ class ArchManager(SoftwareManager):
def launch(self, pkg: ArchPackage):
if pkg.command:
subprocess.Popen(pkg.command.split(' '))
subprocess.Popen(args=[pkg.command], shell=True, env={**os.environ})
def get_screenshots(self, pkg: SoftwarePackage) -> List[str]:
pass