This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bash and '&'
- To: dahms at ifk20 dot mach dot uni-karlsruhe dot de, mh at mike dot franken dot de
- Subject: Re: bash and '&'
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 10 Apr 1998 04:22:57 -0700 (PDT)
- Cc: gnu-win32 at cygnus dot com
- Reply-To: earnie_boyd at hotmail dot com
---dahms@ifk20.mach.uni-karlsruhe.de wrote:
>
> Hi Michael, you wrote:
>
> : If you test this on a Linux machine, you can run any "command &",
then
> : exit bash and "command" still survives - it will get init as parent
> : process !
>
> My usual trick is "(command&)" [or "(command>cmd.log 2>&1 &)"].
> Since the additional subshell dies first, the command gets
reparented to 1.
>
This still leaves a command window stub on exit for non-cygwin
(Sergey's input to this thread) executables. For the console window
stub to disappear the background jobs must have "tty support" (I
haven't tested this so please report if you find it isn't correct).
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".