[Geany-Users] cannot run multiple execute commands

Enrico Tröger enrico.troeger at xxxxx
Sun Aug 9 07:24:44 UTC 2020


Hi,

this happens also with other terminal emulators like konsole.
We have a FAQ item on this:
https://www.geany.org/documentation/faq/#how-can-i-use-urxvt-or-konsole-as-terminal-application-when-executing-files

Maybe this helps also with gnome-terminal.


Regards,
Enrico


On 27.07.20 10:09, Jan Alster wrote:
> Hi,
> 
> just in case somebody else runs into this issue, I have found out what
> is the cause (at least partially). Turns out that the default terminal
> emulator of Ubuntu (gnome-terminal) will not get killed by Geany with
> the second press of F5, whereas the default terminal emulator of Debian
> (xterm) will be. Using gnome-terminal as Geany terminal allows running
> multiple python scripts at the same time even in Debian.
> 
> Thanks everybody for help :)
> Jan
> 
> ---------- Původní e-mail ----------
> Od: Lex Trotman <elextr at gmail.com>
> Komu: Geany general discussion list <users at lists.geany.org>
> Datum: 8. 6. 2020 3:11:26
> Předmět: Re: [Geany-Users] cannot run multiple execute commands
> 
> 
>     On Mon, 8 Jun 2020 at 03:02, Jan Alster <alster at post.cz> wrote:
>     >
>     > Hi,
>     >
>     > good point. Unfortunately the old system is gone and I do not
>     remember what was the version of Geany. I have another installation
>     of Geany on windows (installed about the same time as my old linux
>     system) and that is version 1.26 (from 2015?) and it does behave as
>     I have described - I can spawn multiple python scripts without
>     destroying the previous ones. It uses default 'python "%f"' command
>     for F5 which does not seem as doing any tricks to detach the spawned
>     process. The new version of Geany is 1.33.
>     >
>     > I have tried to install old version of Geany (1.24) on my new
>     linux system to test it and it does kill spawned processes as well.
>     On the other hand, new version of Geany on windows does not kill
>     them. I am baffled. Probably I need to look outside of Geany.
>     >
>     > Anyway it seems I will no get quick answers here :)
> 
>     Well, the answer is that it is not intended to be possible, there is
>     no code to manage more than one execute process. Maybe some old
>     version(s) (1.26 is 5 years ago, who remembers ... well ok github
>     does, but I'm not an archeologist :) had a bug that allowed it, and
>     maybe the behaviour is different on windows, but that is not the
>     intention.
> 
>     Cheers
>     Lex
> 
>     >
>     > Cheers,
>     > Jan
>     >
>     > ---------- Původní e-mail ----------
>     > Od: Lex Trotman <elextr at gmail.com>
>     > Komu: Geany general discussion list <users at lists.geany.org>
>     > Datum: 21. 5. 2020 16:29:32
>     > Předmět: Re: [Geany-Users] cannot run multiple execute commands
>     >
>     > When asking questions its important to give versions, nobody knows
>     > what your old version was or what the new one is.
>     >
>     > Geany has never been able to have more than one execute command at a
>     > time, but maybe you had modified the actual command Geany ran to
>     > detach the job and so return complete to Geany immediately.
>     >
>     > Cheers
>     > Lex
>     >
>     > On Thu, 21 May 2020 at 22:12, Jan Alster <alster at post.cz> wrote:
>     > >
>     > > Hi,
>     > >
>     > > I would like to ask for help with following issue. I have
>     recently switched to new Debian system and now I cannot run multiple
>     python scripts from Geany (via F5) at the same time. On my previous
>     system I could run many and the spawned terminals were open as long
>     as the scripts were running (pressing F5 the second time seemingly
>     detached the terminal from Geany and third press of F5 could start a
>     new script in a new terminal). Now the spawned terminal closes
>     immediately after pressing F5 second time (and it kills python even
>     if it is not finished). strace shows that the terminal gets SIGTERM
>     from Geany. Is that a new feature? I cannot find a way how to keep
>     the terminal running.
>     > >
>     > > Thanks,
>     > > Jan
>     > > _______________________________________________
>     > > Users mailing list
>     > > Users at lists.geany.org
>     > > https://lists.geany.org/cgi-bin/mailman/listinfo/users
>     > _______________________________________________
>     > Users mailing list
>     > Users at lists.geany.org
>     > https://lists.geany.org/cgi-bin/mailman/listinfo/users
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at lists.geany.org
>     > https://lists.geany.org/cgi-bin/mailman/listinfo/users
>     _______________________________________________
>     Users mailing list
>     Users at lists.geany.org
>     https://lists.geany.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.geany.org/pipermail/users/attachments/20200809/117ee1f1/attachment.sig>


More information about the Users mailing list