www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/09/22:34:10

From: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Subject: Re: bash and '&'
9 Apr 1998 22:34:10 -0700 :
Message-ID: <009C4797.EFCD3820.5891.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de>
To: mh AT mike DOT franken DOT de
Cc: gnu-win32 AT cygnus DOT com, dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de

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.


Bye, Heribert (dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019