On 12/8/06, Chris Kilmer <christopher.kilmer / biego.com> wrote:
> I'm trying to build a script that automates the sourcing of multiple
> bash alias files using ruby.  I'm running into problems in that it while
> my alias files get run, the terminal session doesn't recognize any of
> the aliases that were set.
>

>...

> I'm thinking that the problem has to do with the process context that
> the aliases are set in, but I don't know how to fix the problem.
>
> Any ideas would be greatly appreciated.  Thanks.
>

You're right. The aliases are getting added to the environment created
by 'system', but not added back to the parent. I'm pretty sure this is
a basic UNIX security issue. I'm not sure that there's a fix, sadly.
Hopefully I am wrong.