mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[commons/system] more fixes related to some backend commands hanging
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user