mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 03:54:15 +02:00
[fix][web] launching root applications with terminal envs
This commit is contained in:
@@ -876,7 +876,7 @@ class WebApplicationManager(SoftwareManager):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def launch(self, pkg: WebApplication):
|
def launch(self, pkg: WebApplication):
|
||||||
subprocess.Popen(pkg.get_command())
|
subprocess.Popen(pkg.get_command(), shell=user.is_root())
|
||||||
|
|
||||||
def get_screenshots(self, pkg: SoftwarePackage) -> List[str]:
|
def get_screenshots(self, pkg: SoftwarePackage) -> List[str]:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user