Normally when you use the terminal to launch a program, if you want to close the terminal, you will have to close the running program as well. For example, the screenshot below is what happened when I tried to close the terminal after I used it to launch pluma:
There is a trick to close the terminal without killing the running program.
I want to open a new terminal window and execute my program in java code. So I use Runtime.getRuntime().exec("gnome-terminal -x /path/to/my/program arg1 arg2"). This is work fine in Ubuntu but unfortunately it is not work in CentOS, the problem is that the terminal window closed immediately.
I have search many time in stackoverflow but could not find out a solution. Thank you very much!!!
System: I have XUbuntu 12.04 64bit and run Terminal 0.4.8 (Xfce Terminal Emulator).
Problem: My Terminal always stops to accept any input after I close a program window started from the Terminal.
Details: For example, I start leafpad, (or geany, tkdiff etc) from the terminal. I close the window after finishing my job by either clicking on the close button or using ctrl-w.
I have a program which is supposed to handle SIGINT and gracefully shut down. When I run this program from a terminal without backgrounding it I can shut it down just fine using Ctrl-C. Inspecting the logs shows that everything worked as expected.
When I open a separate terminal and call kill -2 [pid] or kill -s INT [pid] it does nothing.
I have a program that when I run from terminal (wihtout GDB) prints some outputs. Assume the output looks like
welcome to CMP simulator
initializing
finish initialization
now run
goodbye
Now, when I want to use GDB, the program gives a PID and I use that to attach to GDB.
Here, my question goes,I've written a C++ program and one of important blocks is that shuffles a vector. First time i'm seeding by 1 before shuffling it. I run this program. Now, i modify the source program by changing the seed value to 2 and rebuild it. If i run this program(the program names are same and first program is still running), what i expect is the shuffled vectors to be different.
I'm looking for a terminal program I can use with a minimal fluxbox environment I am setting up.
Ideally, I am looking for a terminal program that supports tabs and true transparency.
So far it seems that the only terminal programs that come close to meeting those requirements come from Gnome or KDE or XFCE.
Hi, I have a program, that can be only launched from terminal, but I want this thing in menu list. I know how to add commands in menu list, but the program have to be launched from terminal. So..
I managed to install Fedora 11 on a Dell optiplex 260. On the first boot - I can't launch the terminal in the graphical environment. On clicking system tools->terminal it brings up a window with title Starting terminal. It then disappears in a few seconds. Everything else works. I can get to a terminal using Ctrl-alt-f2. But cannot start the terminal within graphical environment.