Ahhh, that PATH... you had me scrambling into the python docs this morning...
I'll do some experimentation if I get time this weekend with os.path.expandvars since you unintentionally caused me to find that, provided it "works" then it sounds a better solution that useShell.