[Gambas-user] gambas3 --system-information in a gambas program
Bruce Steers
bsteers4 at gmail.com
Mon May 23 03:06:57 CEST 2022
On Sun, 22 May 2022 at 23:52, Bruce Steers <bsteers4 at gmail.com> wrote:
> Gotta be a recent (ish) change.
> My money is on a change in the Quit function a while ago that might be
> quitting gambas before msg is printed? Just a wild guess glancing at past
> commits.
>
> Probably something completely different though 😂
>
> BruceS
>
actually I'm close..
if I change the code in Project.Main()
from...
* Else If sArg = "--system-information" Or If sArg = "-i" Then
InitVersion Print FSystemInfo.GetInfo().Join("\n") Quit*
to...
* Else If sArg = "--system-information" Or If sArg = "-i" Then
InitVersion Print FSystemInfo.GetInfo().Join("\n") Return*
then it works.
On Sun, May 22, 2022 at 4:25 PM Bruce Steers <bsteers4 at gmail.com> wrote:
>>
>>> I just tried stable 3.17.2 and no bug, so something broke between 3.17.2
>>> and current dev branch.
>>>
>>> This is one for Benoits all knowing mind i think :)
>>> BruceS
>>>
>>>
>>> On Sun, 22 May 2022 at 09:57, Bruce Steers <bsteers4 at gmail.com> wrote:
>>>
>>>> Doh! yes my Debian had a 3.16.90 gambas.
>>>> I just upgraded to 3.17.90 and now it's not working.
>>>>
>>>> Defo a bug in dev branch.
>>>>
>>>>
>>>> On Sun, 22 May 2022 at 03:06, Jussi Lahtinen <jussi.lahtinen at gmail.com>
>>>> wrote:
>>>>
>>>>> This seems to be a bug in Gambas. I just updated to the latest dev
>>>>> version and now it doesn't work any more.
>>>>>
>>>>>
>>>>> Jussi
>>>>>
>>>>> On Sun, May 22, 2022 at 3:21 AM Jussi Lahtinen <
>>>>> jussi.lahtinen at gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> Cheers Jussi i just tried on Debian11 and it works as expected, seems
>>>>>>> to be only on mint 20.3 it does not work.
>>>>>>>
>>>>>>
>>>>>> I haven't updated my gambas installation for a quite long time, but
>>>>>> it works here with Mint 20.
>>>>>> When I have time I will update and see if something changes.
>>>>>>
>>>>>> Jussi
>>>>>>
>>>>>>
>>>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>>>
>>>>
>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220523/6e1f5999/attachment.htm>
More information about the User
mailing list