Results 1 to 6 of 6
well lets say i type cd /home/root/amsn-0.94 and then i type ./amsn to run amsn it runs fine and all but when i close the terminal window it will close ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-03-2005 #1
well lets say i type cd /home/root/amsn-0.94 and then i type ./amsn to run amsn it runs fine and all but when i close the terminal window it will close down amsn with itself... how do i make it stop??
- 09-03-2005 #2
Launch it from the "run" command instead of the terminal window. Isn't there a "run" in the KMenu or Gnome menu?
- 09-04-2005 #3
- 09-04-2005 #4
- Join Date
- May 2004
You may have noticed that when you run that, you don't get the command prompt back? That means the terminal is basically occupied by the program. The way to separate them is to run the program in the background. Try putting an '&' after the command line to tell the shell (the terminal) to run the program in the background. If you want to bring it back to the foreground, read the manual page for background: 'man bg'. Just to make it perfectly clear, try:Code:
///this use to look better
- 09-04-2005 #5
same thing, when i close the terminal it closes amsn down with itself..
- 09-05-2005 #6
- Join Date
- Sep 2005
A couple of things to try:
nohup ./amsn &Code:
screen ./amsn # press <ctrl+d> or type exit to detach and again to close the terminal (or just close the window) # (start another terminal and run 'screen -r' to reattatch)