Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Changing parent process environment variable

by cdarke (Prior)
on Jan 02, 2008 at 17:51 UTC ( #660020=note: print w/replies, xml ) Need Help??

in reply to Changing parent process environment variable

Since the posts above I have done some further digging.

First, the CPAN module Win32::Env has a BroadcastEnv method. However there are issues, as documented above and in the Win32::Env documentation.

Second, I have written a module that sets env.vars using DLL injection which I will put on CPAN. /msg me if you are interested.
I expect issues on Vista for this, and I have a fix, but I don't have access to Vista just yet. I will not upload onto CPAN until I have tested on Vista.

There is also the possibility of getting (as well as setting) another process's env.vars. - that is an extension I am currently working on.

I will keep this updated.
  • Comment on Re: Changing parent process environment variable

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://660020]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2023-01-27 02:22 GMT
Find Nodes?
    Voting Booth?

    No recent polls found