🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #1129

Re: Stuff running in subshells can be annoying

#1129
From: Andrew Thomas
Date: Wed, 10 Jan 1990 20:06
23 lines
1408 bytes
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
Technical Details
Message-ID: <ANDREWT.90Jan10150653@watnow.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watcgl!andrewt
References: <ANDREWT.90Jan8091138@watnow.waterloo.edu> <1990Jan10.191651.6471@usenet.ins.cwru.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <ANDREWT.90Jan10150653@watnow.waterloo.edu>
Date: 10 Jan 90 20:06:53 GMT
References: <ANDREWT.90Jan8091138@watnow.waterloo.edu>
 <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