ALT Linux Bugzilla
– Attachment 13457 Details for
Bug 43747
Долго запускается на системах с KDE
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч исправляющий долгий запуск из меню в KDE
appinstall-1.4.1-fix-start-from-kde.patch (text/plain), 1.16 KB, created by
Mikhail Tergoev
on 2023-06-13 11:29:51 MSK
(
hide
)
Description:
Патч исправляющий долгий запуск из меню в KDE
Filename:
MIME Type:
Creator:
Mikhail Tergoev
Created:
2023-06-13 11:29:51 MSK
Size:
1.16 KB
patch
obsolete
>--- appinstall 2023-06-13 11:12:58.192520398 +0300 >+++ appinstall 2023-06-13 11:06:02.224350482 +0300 >@@ -140,7 +140,7 @@ > > def getApplicationsInstalled(self): > """Get installed application from epm play --list""" >- out = subprocess.Popen( [ "/usr/bin/epm", "--inscript", "play", "--list", "--short" ], stdout=subprocess.PIPE, env=prg_env) >+ out = subprocess.Popen( [ "/usr/bin/epm", "--inscript", "play", "--list", "--short" ], stdin=subprocess.DEVNULL, stdout=subprocess.PIPE, env=prg_env) > self.installed = [ x.decode().rstrip() for x in out.stdout.readlines() ] > #print("Installed:", self.installed ) > >@@ -159,7 +159,7 @@ > self.getApplicationsInstalled() > self.getAllowedApplications() > t1 = time.perf_counter() >- out = subprocess.Popen( [ "/usr/bin/epm", "--inscript", "play", "--list-all" ], stdout=subprocess.PIPE, env=prg_env) >+ out = subprocess.Popen( [ "/usr/bin/epm", "--inscript", "play", "--list-all" ], stdin=subprocess.DEVNULL, stdout=subprocess.PIPE, env=prg_env) > for l in out.stdout.readlines(): > d = re.match( " (\S+)\s+- (.*)", l.decode().rstrip() ) > if d:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43747
: 13457