Date: Mon, 12 Jul 1999 18:53:45 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: Niall Smart <niall@pobox.com> Cc: hackers@freebsd.org Subject: Re: bin/12578: `` subshell taints PWD Message-ID: <74394.931798425@axl.noc.iafrica.com> In-Reply-To: Your message of "Mon, 12 Jul 1999 18:37:13 GMT." <378A35D9.F43A7E5A@pobox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Jul 1999 18:37:13 GMT, Niall Smart wrote: > The patch appended seems to fix this, I'd like someone familiar > with sh to review it though, since this may be symptomatic of > a general problem with command substitution. As I understand your patch, you're saying "we should fork off a child process when the command in question is cd"? This is what I missed when I tried ``echo .`sleep 600`.'' and assumed that the result was proof that we always spawn a subprocess for backtick evaluation. :-( Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74394.931798425>