[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exported shell variables and scope



On Wed, Jul 25, 2001 at 04:04:53PM +0200, Wichert Akkerman wrote:
> Previously Dale Scheetz wrote:
> > but when I do an 'env' or test for the variables in another shell, none of
> > these variables exist! (Well, PATH exists, but is the old path)
> 
> Environment is a per-process thing, and processes can not change the
> environment of another process.

[from the Hurd-has-interesting-features department]

Except in the Hurd, which has a msgport utility which can be used to frob
the process information of any process (assuming the privilege is granted).
msgport can get/set environment variables, change the root and working
directory, change the umask or mangle the file descriptor table.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



Reply to: