[Gambas-user] IDE Does Not execute App if a copy of the app is open on the computer from another source.

Gianluigi bagonergi at gmail.com
Thu Apr 21 18:00:01 CEST 2022


Il giorno gio 21 apr 2022 alle ore 16:00 Brian G <brian at westwoodsvcs.com>
ha scritto:

>
> ----- On Apr 21, 2022, at 6:35 AM, Benoît Minisini g4mba5 at gmail.com wrote:
>
> > Le 21/04/2022 à 15:21, Brian G a écrit :
>
> >
> > Does it occur if you use a different external terminal than
> 'mate-terminal'?
> >
> > The IDE and the debugger embedded inside the running process communicate
> > using a specific signal (SIGUSR2).
> >
> > --
> > Benoît Minisini
> >
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
> Lol, Good point
>
> It only happens if the ide/emulation and the Stand alone app
>  both use mate-terminal or both use xfce4-terminal all others work fine..
>
> even if you mix them mate-xfce4 or xfc4-mate it does not happen.
>
> So my mate system defaulting to mate-terminal caused me this issue, gee
>
> I wonder if this can somehow be fixed, as it is a little confusing.
>
> Thanks Ben
>
>
Hi,

Sorry but I didn't follow the discussion, just reporting that here the code
works fine :-)
Both in the ide and in my bash shell with this code:
(Sub endprogram()

  Signal[Signal.sigtstp].Ignore
  Signal[Signal.sigterm].ignore
  signal[Signal.SIGINT].ignore
  Signal[Signal.SIGHUP].ignore
  Signal[Signal.SIGWINCH].ignore
  Debug "Ending the program"
  'Stop
  Quit 0

End)

$ gbr3 TestQuit.gambas
Main.Main.16: Hello world
quit
Main.Endprogram.69: Ending the program
----------------------------------------
And with this code:
(Sub endprogram()

  Signal[Signal.sigtstp].Ignore
  Signal[Signal.sigterm].ignore
  signal[Signal.SIGINT].ignore
  Signal[Signal.SIGHUP].ignore
  Signal[Signal.SIGWINCH].ignore
  Debug "Ending the program"
  'Stop
  Quit

End)

$ gbr3 TestQuit2.gambas
Main.Main.16: Hello world
quit
Main.Endprogram.69: Ending the program

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220421/719abbc9/attachment-0001.htm>


More information about the User mailing list