[commons/system] more fixes related to some backend commands hanging

This commit is contained in:
Vinicius Moreira
2021-11-11 15:04:16 -03:00
parent 6aea25813f
commit 7f89e04809
2 changed files with 4 additions and 4 deletions

View File

@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [0.9.21] 2021 ## [0.9.21] 2021
### Fixes ### Fixes
- General
- more fixes related to some backend commands hanging
- Flatpak - Flatpak
- not displaying update components not associated with installed packages - not displaying update components not associated with installed packages
- not displaying the updates size for Flatpak 1.2 - not displaying the updates size for Flatpak 1.2

View File

@@ -243,12 +243,10 @@ def new_subprocess(cmd: List[str], cwd: str = '.', shell: bool = False, stdin =
"stderr": PIPE, "stderr": PIPE,
"cwd": cwd, "cwd": cwd,
"shell": shell, "shell": shell,
"env": gen_env(global_interpreter, lang, extra_paths) "env": gen_env(global_interpreter, lang, extra_paths),
"stdin": stdin if stdin else subprocess.DEVNULL
} }
if input:
args['stdin'] = stdin
return subprocess.Popen(cmd, **args) return subprocess.Popen(cmd, **args)