The env results look identical, and I have the correct path. All isis tools run fine on the command line, and none work in the script. It's frustrating, because the script worked before, and my VM got corrupted and had to be rebuilt, and now I'm having this issue when everything is set up identically. This script, for example, just runs all os the ISIS processing on a CTX pair and I'm getting these errors:
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/mroctx2isis.xml].
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/mroctx2isis.xml].
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/spiceinit.xml].
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/spiceinit.xml].
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/spicefit.xml].
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/spicefit.xml].
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/ctxcal.xml].
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/ctxcal.xml].
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/ctxevenodd.xml].
**I/O ERROR** Unable to open [/home/bermandc/StereoPipeline-3.4.0-2024-06-19-x86_64-Linux/bin/xml/ctxevenodd.xml].
I can't understand for the life of me why it's looking in that directory for the ISIS programs. Even if I take the path to the StereoPipeline directory out of my .bashrc, it still does this.