If you're on linux or the like, the env command should be able to do the trick.
In reply to Re: Setting #! path using environment by mzedeler in thread Setting #! path using environment by joec_