Re: close terminal without killing x program



Peter D. wrote:
catphive wrote:

Hi,

I commonly start gui applications from a terminal with the "command &"
syntax. Then, sometimes I want to close the terminal to get rid of
clutter. This of course kills the child gui process.

Is there any way to avoid this behavior? I'd like to be able to start
x apps from terminal, and then when I'm no longer interested in what's
being printed out on the terminal, close the terminal and keep using
my x app.

man nohup


Or, in a bash shell, the disown command. man bash or info bash. By disowning
a child, the shell doesn't kill that child when it exits. Gotta love the
political correctness of Unix style commands :).

nohup has to be used when starting the command. disown can be done later,
without doing anything special when starting the command.

Peter.
.



Relevant Pages

  • Re: Printing from Solaris 9 on SunBlade 100
    ... >as well as print documents from Star Office and other GUI applications. ... Different printer vendors also sometimes have their own software for solaris. ... If you get a hpcl or postscript printer, it will work both from command line ...
    (comp.unix.solaris)
  • Re: RBAC authorizations only used by Solaris GUI apps ?
    ... > GUI Applications? ... > So if I only use command line tools I have no use for authorizations? ... DeeDee, don't press that button! ...
    (comp.unix.solaris)
  • RBAC authorizations only used by Solaris GUI apps ?
    ... RBAC authorizations are only used by SMC ... GUI Applications? ... So if I only use command line tools I have no use for authorizations? ...
    (comp.unix.solaris)
  • Re: USB neu starten
    ... PCI Interrupt Link enabled at IRQ 7 ... bash: SLPB: command not found ... bash: syntax error near unexpected token `supports' ... achim@achim:~$ ReiserFS: hdc5: found reiserfs format "3.6" with standard journal ...
    (de.comp.os.unix.linux.hardware)
  • [gnu.bash.bug] BASH Frequently-Asked Questions (FAQ version 3.30)
    ... This is the Bash FAQ, version 3.30, for Bash version 3.0. ... Bash, the GNU Bourne-Again Shell. ... C3) Which new features in ksh-93 are not in bash, ... D1) Why does bash run a different version of `command' than ...
    (comp.unix.questions)