[arch] refactoring: removing unneeded parameters from 'launch' method

This commit is contained in:
Vinicius Moreira
2022-02-24 09:54:29 -03:00
parent b67860f538
commit 23bc65b00e
2 changed files with 2 additions and 1 deletions

View File

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