mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 04:44:15 +02:00
showing executed command when installing or uninstalling
This commit is contained in:
@@ -59,6 +59,7 @@ class UninstallApp(QThread):
|
|||||||
def run(self):
|
def run(self):
|
||||||
if self.app:
|
if self.app:
|
||||||
subproc = self.manager.uninstall_and_stream(self.app.model)
|
subproc = self.manager.uninstall_and_stream(self.app.model)
|
||||||
|
self.signal_output.emit(' '.join(subproc.args) + '\n')
|
||||||
|
|
||||||
for output in subproc.stdout:
|
for output in subproc.stdout:
|
||||||
line = output.decode().strip()
|
line = output.decode().strip()
|
||||||
@@ -183,6 +184,7 @@ class InstallApp(QThread):
|
|||||||
|
|
||||||
if self.app:
|
if self.app:
|
||||||
subproc = self.manager.install_and_stream(self.app.model)
|
subproc = self.manager.install_and_stream(self.app.model)
|
||||||
|
self.signal_output.emit(' '.join(subproc.args) + '\n')
|
||||||
|
|
||||||
for output in subproc.stdout:
|
for output in subproc.stdout:
|
||||||
line = output.decode().strip()
|
line = output.decode().strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user