[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] getenv = true not sending PATH environment variable in 7.2.0
- Date: Tue, 20 Jan 2009 12:13:57 -0500
- From: "Thompson, Cooper" <cooper.thompson@xxxxxxxx>
- Subject: Re: [Condor-users] getenv = true not sending PATH environment variable in 7.2.0
I'm seeing something funky with how PATH is getting passed through
Condor. Using Process Explorer to look at the environment of a running
job, I see the following on my execute box:
For the condor_starter process, only one PATH environment variable:
For the job_wrapper.bat process (set using USER_JOB_WRAPPER), TWO PATH
environment variables, PATH and Path (case being the differentiator)
All child processes of the job_wrapper.bat also had two PATH entries.
It appears that when you echo %PATH%, it uses the PATH variable (rather
than Path), so you end up seeing the PATH from the execution machine.
PATH is used by Windows, so the Path set by Condor seems to be ignored.
Note: I added C:\test\path\that\does\not\exist to the path on my execute
The submit file I used was:
executable = test.bat
run_as_owner = true
getenv = true
output = $(CLUSTER).output.log
error = $(CLUSTER).error.log
log = $(CLUSTER).log
rem simple VBScript that just does WScript.Sleep 50000
rem so I have time to inspect the environment
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Matthew Farrellee
Sent: Thursday, January 15, 2009 11:09 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] getenv = true not sending PATH environment
variable in 7.2.0
Torrin Jones wrote:
>> The code for grabbing the env hasn't changed since March 2007. You
>> didn't mention what version you are coming from.
> Thanks for getting back to me. I don't think any of the characters
> mentioned are in my PATH statement, but I'll check anyway.
> These are the condor versions that I've used where the PATH
> variable goes through . . .
> So basically, it "fails" on the newest stable version (7.2.0). I
> development versions.
A quick diff suggests this code is the same in 7.0 and 7.2 (and 6.8.5
for that matter) - so either the PATH is at fault or something else is
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
You can also unsubscribe by visiting
The archives can be found at: