[Gambas-user] EXEC ... WITH

jose.rodriguez at cenpalab.cu jose.rodriguez at cenpalab.cu
Mon Jul 19 23:38:24 CEST 2021

July 19, 2021 6:56 AM, "Dimitris Anogiatis" <dosida at gmail.com (mailto:dosida at gmail.com?to=%22Dimitris%20Anogiatis%22%20<dosida at gmail.com>)> wrote:
This actually worked out for me (i'm on Debian 10.10 with MATE Desktop):

Exec ["pkexec", "env", "DISPLAY=" & Env["DISPLAY"], "XAUTHORITY=" & Env["XAUTHORITY"], Application.Path &/ "vcpufreq-gui.gambas"] Wait

Yes It's an older version of Gambas (3.12) but it showed me that the plugin it used was qt5ct.
Ooops, my bad, there was a certain degree of PEBKAC involved. I placed that option on the wrong If statement. In my defense, I was seeing cross-eyed by that point, LOL. Now confirmed it works on Mint 20.1 Cinnamon.

However, shouldn't this one work too?: 

	Exec ["pkexec", Application.Path &/ "vcpufreq-gui.gambas"] With ["DISPLAY=" & Env["DISPLAY"], "XAUTHORITY=" & Env["XAUTHORITY"]] Wait

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210719/c462ad9c/attachment-0001.htm>

More information about the User mailing list