From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <76e74775a813ce0af13afc71e655b2fc@ladd.quanstro.net> Date: Wed, 25 Nov 2009 11:48:18 +0000 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] environment variables Topicbox-Message-UUID: 9f8bd206-ead5-11e9-9d60-3106f5b1d025 generally, the correct answer is: don't do that. it's better to treat subshells as if they exist in a different scope, even if the environment group isn't forked. if you want to get values back from a script, send them in its stdout. 2009/11/24 Rudolf Sykora : >> the easy (and correct) answer is >> =C2=A0 =C2=A0 =C2=A0 =C2=A0exec rc >> >> - erik >> > Well but this you can't do when being in the middle of a script execution= ... > Can you? > > Thanks > Ruda >