How are you updating the path – using the env resource? On Windows, env sends a broadcast system message message that should cause new processes to get the latest environment.
-Adam From: Jeppe Nejsum Madsen [mailto:
">
]
Hi Is there a way to force reload of the PATH variable on windows? We install git & nodejs and then tries to install some npm packages from a git repo. But in the initial run, npm cannot find git because the current process' PATH is not updated. Starting a new shell and running chef-client solves the issue, but this is of course less than ideal. Any ideas? /Jeppe
|
Archive powered by MHonArc 2.6.16.