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 <[email protected]>: >> the easy (and correct) answer is >> exec rc >> >> - erik >> > Well but this you can't do when being in the middle of a script execution... > Can you? > > Thanks > Ruda >
