xterm closes "automatically" after executing a command

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

xterm closes "automatically" after executing a command

Post by jsfarinet »

Hello, i've the following problem:

When i call

Code: Select all

xterm -geometry 100x40 -title Inxi -e inxi -F

all is executed correctly, but after that the xterm windows closes automatically. This does not happen for example with the same identical command in tinycorelinux (on a netbook). I also tried to quote inxi -F and i played around with the & but to no extent (1)

Also:

Code: Select all

xterm -geometry 132x40 -title Htop -e htop
is executed correctly in Salix and the terminal window with htop in it stays.

I checked the options of xterm and inxi but i do not see an option to stop the process (of closing the window).

Thanks a lot in advance for any pointer!

-------
1) This is - in my environment - a key definition for a fluxbox shortcut.
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: xterm closes "automatically" after executing a command

Post by westms »

jsfarinet wrote:Hello, i've the following problem:

When i call

Code: Select all

xterm -geometry 100x40 -title Inxi -e inxi -F
[...]
Hello,
you might use

Code: Select all

xterm -hold -geometry 100x40 -title Inxi -e inxi -F
instead.
User avatar
jsfarinet
Posts: 305
Joined: 23. Nov 2014, 07:32

Re: xterm closes "automatically" after executing a command

Post by jsfarinet »

Thanks westms. That works so far - although the inxi process within the terminal window now is frozen. I'm unable to do anything else in it. But, effectively, the window with the infos in it, now stays! :)

It's curious, that in other linux it works without the "-hold" ...
Post Reply