Path: utzoo!utgpu!watserv1!watcgl!andrewt From: andrewt@watnow.waterloo.edu (Andrew Thomas) Newsgroups: gnu.bash.bug Subject: Re: Stuff running in subshells can be annoying Message-ID: Date: 10 Jan 90 20:06:53 GMT References: <1990Jan10.191651.6471@usenet.ins.cwru.edu> Sender: daemon@watcgl.waterloo.edu Organization: University of Waterloo, Waterloo, Ontario, Canada Lines: 23 In-reply-to: chet@cwns1.CWRU.EDU's message of 10 Jan 90 19:16:51 GMT In article <1990Jan10.191651.6471@usenet.ins.cwru.edu> chet@cwns1.CWRU.EDU (Chet Ramey) writes: In article andrewt@watnow.waterloo.edu (Andrew Thomas) writes: >It seems now that stuff in `` or $() >gets run in a subshell in 1.04 where there aren't really any jobs. Is >this fixable? It's fixed now; it was broken in 1.03. First of all, stuff in `` or $() [example of why 1.03 was broken] Chet Ramey But this doesn't really answer the question. Will it ever be possible for me to do exec $(jobs | fgprg 'emacs -nw') while still having the shell perform correctly in other cases? Would it require treating jobs separately from other builtins? -- Andrew Thomas andrewt@watsnew.waterloo.edu Systems Design Eng. University of Waterloo "If a million people do a stupid thing, it's still a stupid thing." - Opus