mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04: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
|
||||
|
||||
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]:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user