--- 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: