This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bash and '&'


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@ifk20.mach.uni-karlsruhe.de)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]