Peter Stucki writes:
 > ***A T T E N T I O N***********************************************
 > This email originates from the Internet and therefore may not
 > be from the apparent sender.
 > 
 > If you have any doubts about the origin or content of the email please 
 > contact PC Support on x2288.
 > ***********************************************************************
 > 
 > Hi all,
 > I have used the TieRegistry module to add new environment variables. The environment 
 >vars appear just fine. The problem is that these newly-set environment variables 
 >become active only after a re-boot, or re-logon. 
 > 
 > Is there a way to avoid a re-boot or re-logon to immediately activate the newly-set 
 >environment variables?

Depends what you mean. If you want the new environment variables to
be visible in a new process, then I have found that after setting
environment variables in the registry, a new command shell has the
new settings. No reboot is necessary.

If you want the new settings to be visible in the current process or
sub-processes that you are about to start, then you should set the
current process environment directly (i.e. $ENV{...} = ) rather than
use the registry.

If you mean that you want processes that are already running to see
the new settings, then I don't think that there is any way to do that
without at least restarting those processes.

HTH

-- 
Brian Raven

echo "ICK, NOTHING WORKED!!!  You may have to diddle the includes.";;
             -- Larry Wall in Configure from the perl distribution


-----------------------------------------------------------------------
The information contained in this e-mail is confidential and solely 
for the intended addressee(s). Unauthorised reproduction, disclosure, 
modification, and/or distribution of this email may be unlawful. If you 
have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message 
do not necessarily reflect those of 
LIFFE Holdings Plc or any of its subsidiary companies.
-----------------------------------------------------------------------

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to