[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make running program& into a (program&)
From: |
Chet Ramey |
Subject: |
Re: make running program& into a (program&) |
Date: |
Mon, 11 Feb 2002 09:16:03 -0500 |
> John Q. User log:
> $ emacs & #oops, wanted to do "(emacs &)"
> [1] 1976
> $ fg
> emacs tcp-tips
> ^Z
> [1]+ Stopped emacs tcp-tips
> $ (bg&) #maybe try this?
> bash: bg: no job control
> $ jobs
> [1]+ Stopped emacs tcp-tips
> $ bg #sigh
> [1]+ emacs tcp-tips &
> -------------------------
> anyways, John Q. wanted to make his already running emacs& into a
> (emacs&). He is miffed that apparently even in this day and age of
> high technology, he probably has no way to do this with current bash?
>
> [ (emacs&) would be immune to whatever happened to the parent shell,
> so that's why I use it. ]
What's wrong with `disown %1'?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/